| Index: sky/engine/platform/heap/Heap.h
|
| diff --git a/sky/engine/platform/heap/Heap.h b/sky/engine/platform/heap/Heap.h
|
| index b155c86fc664b331d044de0a89ea8bbd045d94f0..e1f071cefee6b21b53b75cf6981ffc6ad328ba33 100644
|
| --- a/sky/engine/platform/heap/Heap.h
|
| +++ b/sky/engine/platform/heap/Heap.h
|
| @@ -1401,7 +1401,6 @@ T* adoptRefCountedGarbageCollected(T* ptr)
|
| // need to have a trace method. That trace method will be called
|
| // automatically by the Heap collections.
|
| //
|
| -#if COMPILER_SUPPORTS(CXX_DELETED_FUNCTIONS)
|
| #define DISALLOW_ALLOCATION() \
|
| private: \
|
| void* operator new(size_t) = delete; \
|
| @@ -1419,28 +1418,6 @@ T* adoptRefCountedGarbageCollected(T* ptr)
|
| private: \
|
| Type() = delete;
|
|
|
| -#else
|
| -
|
| -#define DISALLOW_ALLOCATION() \
|
| - private: \
|
| - void* operator new(size_t); \
|
| - void* operator new(size_t, NotNullTag, void*); \
|
| - void* operator new(size_t, void*)
|
| -
|
| -#define ALLOW_ONLY_INLINE_ALLOCATION() \
|
| - public: \
|
| - void* operator new(size_t, NotNullTag, void* location) { return location; } \
|
| - void* operator new(size_t, void* location) { return location; } \
|
| - private: \
|
| - void* operator new(size_t);
|
| -
|
| -#define STATIC_ONLY(Type) \
|
| - private: \
|
| - Type();
|
| -
|
| -#endif
|
| -
|
| -
|
| // These macros insert annotations that the Blink GC plugin for clang uses for
|
| // verification. STACK_ALLOCATED is used to declare that objects of this type
|
| // are always stack allocated. GC_PLUGIN_IGNORE is used to make the plugin
|
|
|