Index: src/allocation.h |
diff --git a/src/allocation.h b/src/allocation.h |
index 7c1e023b8646f8a258d715bbedb70ddd31f8e844..8581cc9e9d75679aaaa78e43eecba859aa5eaf86 100644 |
--- a/src/allocation.h |
+++ b/src/allocation.h |
@@ -45,12 +45,12 @@ class Embedded { |
#endif |
-// Superclass for classes only using statics. |
+// Superclass for classes only using static method functions. |
+// The subclass of AllStatic cannot be instantiated at all. |
class AllStatic { |
#ifdef DEBUG |
public: |
- void* operator new(size_t size); |
- void operator delete(void* p); |
+ AllStatic() = delete; |
#endif |
}; |