summaryrefslogtreecommitdiff
path: root/libmysqlpp/my-mock.h
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2018-04-15 15:10:58 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2018-04-15 15:10:58 +0100
commit2d7c7d4f13c21d7c5b259c8724d3add1f506dd12 (patch)
tree98e50ec84dc594abd72c6981a3fc115c9fc3fb41 /libmysqlpp/my-mock.h
parentStandalone split (diff)
downloadlibdbpp-mysql-2d7c7d4f13c21d7c5b259c8724d3add1f506dd12.tar.bz2
libdbpp-mysql-2d7c7d4f13c21d7c5b259c8724d3add1f506dd12.tar.xz
libdbpp-mysql-2d7c7d4f13c21d7c5b259c8724d3add1f506dd12.zip
Upgrade everything to C++17
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;
};
}