mirror of
https://github.com/dlang/phobos.git
synced 2025-04-30 07:00:37 +03:00
move the import of onOutOfMemoryError out of the deprecated section
outOfMemoryError is in use by undeprecated code, and it's not deprecated itself either
This commit is contained in:
parent
dfe83f155d
commit
55d89dcad1
1 changed files with 1 additions and 1 deletions
|
@ -59,6 +59,7 @@ version(Posix)
|
||||||
import core.stdc.errno;
|
import core.stdc.errno;
|
||||||
import core.sys.posix.pwd;
|
import core.sys.posix.pwd;
|
||||||
import core.sys.posix.stdlib;
|
import core.sys.posix.stdlib;
|
||||||
|
private import core.exception : onOutOfMemoryError;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -2795,7 +2796,6 @@ deprecated:
|
||||||
version(Posix)
|
version(Posix)
|
||||||
{
|
{
|
||||||
private import core.sys.posix.pwd;
|
private import core.sys.posix.pwd;
|
||||||
private import core.exception : onOutOfMemoryError;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
version(Windows)
|
version(Windows)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue