summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-02-13 11:09:45 +0000
committerMichael Stahl <mstahl@redhat.com>2012-08-03 12:46:09 +0200
commitfa8666dda27e401fdf6b7defb7ed03b7daf0cb8f (patch)
tree0a30350ab30ebb277eab1605971213bb4f439586
parentWaE: silence some msvc warnings (diff)
downloadbinfilter-fa8666dda27e401fdf6b7defb7ed03b7daf0cb8f.tar.gz
binfilter-fa8666dda27e401fdf6b7defb7ed03b7daf0cb8f.zip
WaE: need a virtual dtor
(cherry picked from commit 101a6853e968e22187c4d2aba395ff13e76ae7d7) Signed-off-by: Michael Stahl <mstahl@redhat.com>
-rw-r--r--binfilter/bf_sw/source/core/inc/swcache.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/binfilter/bf_sw/source/core/inc/swcache.hxx b/binfilter/bf_sw/source/core/inc/swcache.hxx
index be608e1f8..dfcc575c4 100644
--- a/binfilter/bf_sw/source/core/inc/swcache.hxx
+++ b/binfilter/bf_sw/source/core/inc/swcache.hxx
@@ -220,7 +220,7 @@ protected:
inline SwCacheAccess( SwCache &rCache, const void *pOwner, const USHORT nIndex );
public:
- ~SwCacheAccess() { if ( pObj ) pObj->Unlock(); }
+ virtual ~SwCacheAccess() { if ( pObj ) pObj->Unlock(); }
//Abkuerzung fuer diejenigen, die wissen, das die Ableitung das IsAvailable