summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libadhocutil/factory.impl.h4
-rw-r--r--libadhocutil/plugins.impl.h2
-rw-r--r--libadhocutil/unittests/testFactory.cpp2
3 files changed, 4 insertions, 4 deletions
diff --git a/libadhocutil/factory.impl.h b/libadhocutil/factory.impl.h
index 9320419..c3b52a5 100644
--- a/libadhocutil/factory.impl.h
+++ b/libadhocutil/factory.impl.h
@@ -23,10 +23,10 @@ namespace AdHoc {
}
}
-#define INSTANIATEFACTORY(Base, ...) \
+#define INSTANTIATEFACTORY(Base, ...) \
template class AdHoc::Factory<Base, __VA_ARGS__>; \
typedef AdHoc::Factory<Base, __VA_ARGS__> FactoryType; \
- INSTANIATEPLUGINOF(FactoryType)
+ INSTANTIATEPLUGINOF(FactoryType)
#endif
diff --git a/libadhocutil/plugins.impl.h b/libadhocutil/plugins.impl.h
index a0cff98..9a2a880 100644
--- a/libadhocutil/plugins.impl.h
+++ b/libadhocutil/plugins.impl.h
@@ -89,7 +89,7 @@ namespace AdHoc {
}
}
-#define INSTANIATEPLUGINOF(T) \
+#define INSTANTIATEPLUGINOF(T) \
template class AdHoc::PluginOf<T>; \
template void AdHoc::PluginManager::add<T>(const T *, const std::string &, const std::string &, int); \
template void AdHoc::PluginManager::remove<T>(const std::string &); \
diff --git a/libadhocutil/unittests/testFactory.cpp b/libadhocutil/unittests/testFactory.cpp
index 6c0a5d5..24f731f 100644
--- a/libadhocutil/unittests/testFactory.cpp
+++ b/libadhocutil/unittests/testFactory.cpp
@@ -32,7 +32,7 @@ typedef AdHoc::Factory<BaseThing, int, std::string> BaseThingFactory;
NAMEDFACTORY("a", ImplOfThing, BaseThingFactory);
FACTORY(OtherImplOfThing, BaseThingFactory);
-INSTANIATEFACTORY(BaseThing, int, std::string);
+INSTANTIATEFACTORY(BaseThing, int, std::string);
BOOST_AUTO_TEST_CASE( ready )
{