summaryrefslogtreecommitdiff
path: root/libdbpp/unittests/mockdb.h
diff options
context:
space:
mode:
Diffstat (limited to 'libdbpp/unittests/mockdb.h')
-rw-r--r--libdbpp/unittests/mockdb.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/libdbpp/unittests/mockdb.h b/libdbpp/unittests/mockdb.h
index 53fd451..41d63e1 100644
--- a/libdbpp/unittests/mockdb.h
+++ b/libdbpp/unittests/mockdb.h
@@ -15,9 +15,9 @@ class MockDb : public DB::Connection {
DB::BulkDeleteStyle bulkDeleteStyle() const override;
DB::BulkUpdateStyle bulkUpdateStyle() const override;
- void execute(const std::string & sql, const DB::CommandOptions *) override;
- DB::SelectCommandPtr select(const std::string &, const DB::CommandOptions *) override;
- DB::ModifyCommandPtr modify(const std::string &, const DB::CommandOptions *) override;
+ void execute(const std::string & sql, const DB::CommandOptionsCPtr &) override;
+ DB::SelectCommandPtr select(const std::string &, const DB::CommandOptionsCPtr &) override;
+ DB::ModifyCommandPtr modify(const std::string &, const DB::CommandOptionsCPtr &) override;
mutable std::vector<std::string> executed;
};