aboutsummaryrefslogtreecommitdiff
path: root/lib/base/object.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/base/object.h')
-rw-r--r--lib/base/object.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/base/object.h b/lib/base/object.h
index f0e0e9a5..a3268d4f 100644
--- a/lib/base/object.h
+++ b/lib/base/object.h
@@ -17,6 +17,7 @@ private:
/* we don't allow the default operator here, as it would break the refcount. */
void operator=(const iObject &);
protected:
+ void operator delete(void *p) { ::operator delete(p); }
virtual ~iObject() { }
#ifdef SWIG
virtual void AddRef()=0;