summaryrefslogtreecommitdiff
path: root/factory.h
diff options
context:
space:
mode:
authorweidai <weidai11@users.noreply.github.com>2011-10-12 06:11:16 +0000
committerweidai <weidai11@users.noreply.github.com>2011-10-12 06:11:16 +0000
commitd011dea1844141403fc8adb1861a7d975d5855a8 (patch)
treee5e870fc1fcace5b32427dddcdb165515b0d5153 /factory.h
parentac6a61ed391ae9dd140b8043ea199c6e5047fdb9 (diff)
downloadcryptopp-git-d011dea1844141403fc8adb1861a7d975d5855a8.tar.gz
fix warning with LLVM (Marshall Clow)
Diffstat (limited to 'factory.h')
-rw-r--r--factory.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/factory.h b/factory.h
index ef5a59e4..5b65db3d 100644
--- a/factory.h
+++ b/factory.h
@@ -12,6 +12,7 @@ template <class AbstractClass>
class ObjectFactory
{
public:
+ virtual ~ObjectFactory () {}
virtual AbstractClass * CreateObject() const =0;
};