From ec3c09333f68ad1790896f42ccc650080a8c7d9d Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Sun, 20 Sep 2015 20:02:47 +0100 Subject: Instantiate the right plug-in type for factories --- libadhocutil/factory.impl.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; \ - INSTANIATEPLUGINOF(Base) + typedef AdHoc::Factory FactoryType; \ + INSTANIATEPLUGINOF(FactoryType) #endif -- cgit v1.2.3