summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libadhocutil/factory.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libadhocutil/factory.h b/libadhocutil/factory.h
index 184164f..74f2a6b 100644
--- a/libadhocutil/factory.h
+++ b/libadhocutil/factory.h
@@ -9,7 +9,7 @@ namespace AdHoc {
* Base class for factories creating instances of Base.
*/
template <typename Base, typename ... Params>
- class DLL_PUBLIC Factory : public AbstractPluginImplementation {
+ class DLL_PUBLIC Factory : public virtual AbstractPluginImplementation {
public:
virtual ~Factory() = 0;