From 6936f0db48a8a0af93142e208674efff1cf9eb9c Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Thu, 24 Sep 2015 01:52:38 +0100 Subject: Fix mock base classes visibility --- libdbpp/mockDatabase.h | 5 +++-- 1 file 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 #include #include "connection.h" +#include 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(); -- cgit v1.2.3