summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2015-10-01 00:19:41 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2015-10-01 00:19:41 +0100
commitb8e08039cba9e4ea81c649833b6c755eeb0957d3 (patch)
treec18e7a5b8142c54d5fe847f8f1c5f7795b688452
parentUse __VA_ARGS__ to remove need for global typedef in macro (diff)
downloadlibadhocutil-0.2.tar.bz2
libadhocutil-0.2.tar.xz
libadhocutil-0.2.zip
Factory virtual inherit abstract baselibadhocutil-0.2
-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;