diff qt/d2/qt/Signal.d @ 188:7dd099050621

initial commit for D2 support
author eldar
date Sun, 12 Jul 2009 18:58:03 +0000
parents 6faf3d3cb95e
children a1b48a630f73
line wrap: on
line diff
--- a/qt/d2/qt/Signal.d	Sat Jul 11 11:17:44 2009 +0000
+++ b/qt/d2/qt/Signal.d	Sun Jul 12 18:58:03 2009 +0000
@@ -17,7 +17,8 @@
 import core.stdc.string : memmove;
 import
     std.traits,
-    core.thread;
+    core.thread,
+    core.exception;
 
 
 
@@ -35,7 +36,7 @@
 {
     a = (cast(T*)crealloc(a.ptr, length * T.sizeof))[0..length];
     if (!a.ptr)
-        new OutOfMemoryException(__FILE__, __LINE__);
+        new OutOfMemoryError(__FILE__, __LINE__);
 }
 
 unittest