summaryrefslogtreecommitdiff
path: root/libodbcpp/odbc-connection.h
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2018-04-22 15:13:33 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2018-04-22 15:13:33 +0100
commitffd3c8e7dcf3bee3304d7c28d8102bf343b64c76 (patch)
tree78f3cc6ce79e1aad4da917865c4a2669aac90e93 /libodbcpp/odbc-connection.h
parentMark potential fall-through (diff)
downloadlibdbpp-odbc-1.2.0.tar.bz2
libdbpp-odbc-1.2.0.tar.xz
libdbpp-odbc-1.2.0.zip
Updates code largely in-keeping with updates to be C++17 in line with libadhocutil and libdbpp.
Diffstat (limited to 'libodbcpp/odbc-connection.h')
-rw-r--r--libodbcpp/odbc-connection.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libodbcpp/odbc-connection.h b/libodbcpp/odbc-connection.h
index 4a3940e..3574c42 100644
--- a/libodbcpp/odbc-connection.h
+++ b/libodbcpp/odbc-connection.h
@@ -30,8 +30,8 @@ namespace ODBC {
DB::BulkDeleteStyle bulkDeleteStyle() const override;
DB::BulkUpdateStyle bulkUpdateStyle() const override;
- DB::SelectCommand * newSelectCommand(const std::string & sql, const DB::CommandOptions *) override;
- DB::ModifyCommand * newModifyCommand(const std::string & sql, const DB::CommandOptions *) override;
+ DB::SelectCommandPtr select(const std::string & sql, const DB::CommandOptionsCPtr &) override;
+ DB::ModifyCommandPtr modify(const std::string & sql, const DB::CommandOptionsCPtr &) override;
private:
DB::BulkDeleteStyle thinkDelStyle;