summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2015-09-15 08:50:53 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2015-09-15 08:50:53 +0100
commit9359b8d9f35ad960b19e82aa291a26ed02bc98f4 (patch)
tree659bfddf3ba115a32220e1bf48bf50f9be265917
parentAdd basic factory support (diff)
downloadlibadhocutil-9359b8d9f35ad960b19e82aa291a26ed02bc98f4.tar.bz2
libadhocutil-9359b8d9f35ad960b19e82aa291a26ed02bc98f4.tar.xz
libadhocutil-9359b8d9f35ad960b19e82aa291a26ed02bc98f4.zip
Add missing dll_public attributes
-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