summaryrefslogtreecommitdiff
path: root/libmysqlpp/my-mock.h
diff options
context:
space:
mode:
Diffstat (limited to 'libmysqlpp/my-mock.h')
-rw-r--r--libmysqlpp/my-mock.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/libmysqlpp/my-mock.h b/libmysqlpp/my-mock.h
index 0855015..a1dd770 100644
--- a/libmysqlpp/my-mock.h
+++ b/libmysqlpp/my-mock.h
@@ -10,11 +10,10 @@ namespace MySQL {
class DLL_PUBLIC Mock : public DB::MockServerDatabase {
public:
Mock(const std::string & master, const std::string & name, const std::vector<boost::filesystem::path> & ss);
- Mock(const std::string & name, const std::vector<boost::filesystem::path> & ss);
~Mock();
private:
- DB::Connection * openConnection() const override;
+ DB::ConnectionPtr openConnection() const override;
};
}