summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libadhocutil/factory.impl.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/libadhocutil/factory.impl.h b/libadhocutil/factory.impl.h
index 5aefba4..9320419 100644
--- a/libadhocutil/factory.impl.h
+++ b/libadhocutil/factory.impl.h
@@ -25,7 +25,8 @@ namespace AdHoc {
#define INSTANIATEFACTORY(Base, ...) \
template class AdHoc::Factory<Base, __VA_ARGS__>; \
- INSTANIATEPLUGINOF(Base)
+ typedef AdHoc::Factory<Base, __VA_ARGS__> FactoryType; \
+ INSTANIATEPLUGINOF(FactoryType)
#endif