From 978b06eb1a31471ebda868ddf526cb40a38fe652 Mon Sep 17 00:00:00 2001 From: Andreas Monzner Date: Thu, 30 Oct 2008 00:14:17 +0000 Subject: small refcounting fixes, add private operator delete to iObject --- lib/base/object.h | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/base/object.h') 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; -- cgit v1.2.3