From d011dea1844141403fc8adb1861a7d975d5855a8 Mon Sep 17 00:00:00 2001 From: weidai Date: Wed, 12 Oct 2011 06:11:16 +0000 Subject: [PATCH] fix warning with LLVM (Marshall Clow) --- factory.h | 1 + 1 file changed, 1 insertion(+) diff --git a/factory.h b/factory.h index ef5a59e4..5b65db3d 100644 --- a/factory.h +++ b/factory.h @@ -12,6 +12,7 @@ template class ObjectFactory { public: + virtual ~ObjectFactory () {} virtual AbstractClass * CreateObject() const =0; };