summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libadhocutil/factory.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/libadhocutil/factory.h b/libadhocutil/factory.h
index 2493525..28fce62 100644
--- a/libadhocutil/factory.h
+++ b/libadhocutil/factory.h
@@ -2,17 +2,18 @@
#define ADHOCUTIL_FACTORY_H
#include "plugins.h"
+#include "visibility.h"
namespace AdHoc {
template <typename Base, typename ... Params>
- class Factory {
+ class DLL_PUBLIC Factory {
public:
virtual ~Factory() = 0;
virtual Base * create(const Params & ...) const = 0;
template <typename Impl, typename _ = Factory<Base, Params...>>
- class For : public _
+ class DLL_PUBLIC For : public _
{
public:
Base * create(const Params & ... p) const override