summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2015-09-24 01:52:38 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2015-09-24 01:52:38 +0100
commit6936f0db48a8a0af93142e208674efff1cf9eb9c (patch)
tree8a87ca5d3ed08ba1959e3a0c00b621d1595f25a2
parentConnector compatibility fix (diff)
downloadlibdbpp-6936f0db48a8a0af93142e208674efff1cf9eb9c.tar.bz2
libdbpp-6936f0db48a8a0af93142e208674efff1cf9eb9c.tar.xz
libdbpp-6936f0db48a8a0af93142e208674efff1cf9eb9c.zip
Fix mock base classes visibility
-rw-r--r--libdbpp/mockDatabase.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/libdbpp/mockDatabase.h b/libdbpp/mockDatabase.h
index e314b84..f6609cb 100644
--- a/libdbpp/mockDatabase.h
+++ b/libdbpp/mockDatabase.h
@@ -5,10 +5,11 @@
#include <vector>
#include <boost/filesystem/path.hpp>
#include "connection.h"
+#include <visibility.h>
namespace DB {
-class MockDatabase {
+class DLL_PUBLIC MockDatabase {
public:
MockDatabase(const std::string & mockName);
virtual ~MockDatabase();
@@ -30,7 +31,7 @@ class MockDatabase {
void DropStatusTable(DB::Connection *) const;
};
-class MockServerDatabase : public MockDatabase {
+class DLL_PUBLIC MockServerDatabase : public MockDatabase {
public:
MockServerDatabase(const std::string & masterdb, const std::string & name, const std::string & type);
virtual ~MockServerDatabase();