Index: src/allocation.h |
diff --git a/src/allocation.h b/src/allocation.h |
index 2fea7b2826edcd6d3a6af821a475afd543322a37..292e1fe23b5f8a070eac5a165aad5dac2b052818 100644 |
--- a/src/allocation.h |
+++ b/src/allocation.h |
@@ -21,7 +21,6 @@ class Malloced { |
void* operator new(size_t size) { return New(size); } |
void operator delete(void* p) { Delete(p); } |
- static void FatalProcessOutOfMemory(); |
static void* New(size_t size); |
static void Delete(void* p); |
}; |
@@ -59,7 +58,7 @@ class AllStatic { |
template <typename T> |
T* NewArray(size_t size) { |
T* result = new T[size]; |
- if (result == NULL) Malloced::FatalProcessOutOfMemory(); |
+ if (result == NULL) FatalProcessOutOfMemory("NewArray"); |
return result; |
} |