mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-08-17 03:40:05 +02:00
Applied downs' latest Phobos patch
This commit is contained in:
@@ -33,10 +33,11 @@ class OutOfMemoryException : Exception
|
||||
|
||||
extern (C) void _d_OutOfMemory()
|
||||
{
|
||||
assert(0);
|
||||
/*throw cast(OutOfMemoryException)
|
||||
printf("Out of memory!\n");
|
||||
*(cast(int*) 0) = 0;
|
||||
throw cast(OutOfMemoryException)
|
||||
cast(void *)
|
||||
OutOfMemoryException.classinfo.init;*/
|
||||
OutOfMemoryException.classinfo.init;
|
||||
}
|
||||
|
||||
static this()
|
||||
|
||||
Reference in New Issue
Block a user