summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorweidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0>2011-10-12 06:11:16 +0000
committerweidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0>2011-10-12 06:11:16 +0000
commitd8257ec3e567f0f7509cd6dba11faea9c67c9cb5 (patch)
treee5e870fc1fcace5b32427dddcdb165515b0d5153
parentce53d49e61043b2bf2b6b96cfc5ed1fe70797348 (diff)
downloadcryptopp-d8257ec3e567f0f7509cd6dba11faea9c67c9cb5.tar.gz
fix warning with LLVM (Marshall Clow)
git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@531 57ff6487-cd31-0410-9ec3-f628ee90f5f0
-rw-r--r--factory.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/factory.h b/factory.h
index ef5a59e..5b65db3 100644
--- a/factory.h
+++ b/factory.h
@@ -12,6 +12,7 @@ template <class AbstractClass>
class ObjectFactory
{
public:
+ virtual ~ObjectFactory () {}
virtual AbstractClass * CreateObject() const =0;
};