Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
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...
commit 55d89dcad1629a2a1a9165ffd5a91aee588fd8a1 1 parent dfe83f1
@NilsBossung NilsBossung authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  std/path.d
View
2  std/path.d
@@ -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)
Please sign in to comment.
Something went wrong with that request. Please try again.