Permalink
Browse files

move the import of onOutOfMemoryError out of the deprecated section

outOfMemoryError is in use by undeprecated code, and it's not deprecated
itself either
  • Loading branch information...
1 parent dfe83f1 commit 55d89dcad1629a2a1a9165ffd5a91aee588fd8a1 @NilsBossung NilsBossung committed Apr 4, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 std/path.d
View
@@ -59,6 +59,7 @@ version(Posix)
import core.stdc.errno;
import core.sys.posix.pwd;
import core.sys.posix.stdlib;
+ private import core.exception : onOutOfMemoryError;
}
@@ -2795,7 +2796,6 @@ deprecated:
version(Posix)
{
private import core.sys.posix.pwd;
- private import core.exception : onOutOfMemoryError;
}
version(Windows)

0 comments on commit 55d89dc

Please sign in to comment.