summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libadhocutil/factory.impl.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/libadhocutil/factory.impl.h b/libadhocutil/factory.impl.h
index c3b52a5..c6d4719 100644
--- a/libadhocutil/factory.impl.h
+++ b/libadhocutil/factory.impl.h
@@ -23,6 +23,11 @@ namespace AdHoc {
}
}
+#define INSTANTIATEVOIDFACTORY(Base) \
+ template class AdHoc::Factory<Base>; \
+ typedef AdHoc::Factory<Base> FactoryType; \
+ INSTANTIATEPLUGINOF(FactoryType)
+
#define INSTANTIATEFACTORY(Base, ...) \
template class AdHoc::Factory<Base, __VA_ARGS__>; \
typedef AdHoc::Factory<Base, __VA_ARGS__> FactoryType; \