From 55d89dcad1629a2a1a9165ffd5a91aee588fd8a1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nils=20Bo=C3=9Fung?= Date: Wed, 4 Apr 2012 20:11:02 +0200 Subject: [PATCH] move the import of onOutOfMemoryError out of the deprecated section outOfMemoryError is in use by undeprecated code, and it's not deprecated itself either --- std/path.d | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/std/path.d b/std/path.d index 08cb9de0d..ebf0fa5ab 100644 --- a/std/path.d +++ b/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)