From 4232adcb5a6be69f7f2b54348ffbeedced81ffe7 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Fri, 9 Apr 2021 01:17:47 +0100 Subject: Replace interfacebase with deleted operator new. --- include/base.h | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'include/base.h') diff --git a/include/base.h b/include/base.h index 1a733ac79..7b737f45e 100644 --- a/include/base.h +++ b/include/base.h @@ -34,20 +34,6 @@ #include "utility/uncopiable.h" #include "cull.h" -/** The base class for inspircd classes that provide a wrapping interface, and - * should only exist while being used. Prevents heap allocation. - */ -class CoreExport interfacebase - : private insp::uncopiable -{ - public: - interfacebase() = default; - static inline void* operator new(size_t, void* m) { return m; } - private: - static void* operator new(size_t); - static void operator delete(void*); -}; - /** The base class for inspircd classes that support reference counting. * Any objects that do not have a well-defined lifetime should inherit from * this, and should be assigned to a reference object to establish their -- cgit v1.3.1-10-gc9f91