summaryrefslogtreecommitdiff
path: root/cpp/include/IceUtil/AbstractMutex.h
diff options
context:
space:
mode:
authorDwayne Boone <dwayne@zeroc.com>2005-09-02 18:08:18 +0000
committerDwayne Boone <dwayne@zeroc.com>2005-09-02 18:08:18 +0000
commit86f6fd88464e6a9fff74666c62fee90a178bafcf (patch)
tree975ab2187ce512d51eb1a0acfb594e45841e4803 /cpp/include/IceUtil/AbstractMutex.h
parentBug 398: Remove temporary workaround for Windows. (diff)
downloadice-86f6fd88464e6a9fff74666c62fee90a178bafcf.tar.bz2
ice-86f6fd88464e6a9fff74666c62fee90a178bafcf.tar.xz
ice-86f6fd88464e6a9fff74666c62fee90a178bafcf.zip
Fix some compiler warnings
Diffstat (limited to 'cpp/include/IceUtil/AbstractMutex.h')
-rw-r--r--cpp/include/IceUtil/AbstractMutex.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/cpp/include/IceUtil/AbstractMutex.h b/cpp/include/IceUtil/AbstractMutex.h
index 6ee6829da45..83e4df9a678 100644
--- a/cpp/include/IceUtil/AbstractMutex.h
+++ b/cpp/include/IceUtil/AbstractMutex.h
@@ -23,6 +23,9 @@ public:
typedef LockT<AbstractMutex> Lock;
typedef TryLockT<AbstractMutex> TryLock;
+ virtual ~AbstractMutex()
+ {};
+
virtual void lock() const = 0;
virtual void unlock() const = 0;
virtual bool tryLock() const = 0;