diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2015-12-29 04:28:57 +0000 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2015-12-29 06:00:07 +0000 |
commit | af520626793966ad435f655970b7df38bce0c629 (patch) | |
tree | 1c813f3842ab427fa04ef91754426cd43d71616b | |
parent | Default (not supported) bulk upload implementation (diff) | |
download | libdbpp-sqlite-af520626793966ad435f655970b7df38bce0c629.tar.bz2 libdbpp-sqlite-af520626793966ad435f655970b7df38bce0c629.tar.xz libdbpp-sqlite-af520626793966ad435f655970b7df38bce0c629.zip |
Non-const command getters
-rw-r--r-- | libsqlitepp/sqlite-connection.cpp | 4 | ||||
-rw-r--r-- | libsqlitepp/sqlite-connection.h | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/libsqlitepp/sqlite-connection.cpp b/libsqlitepp/sqlite-connection.cpp index fdd2966..a4c10b7 100644 --- a/libsqlitepp/sqlite-connection.cpp +++ b/libsqlitepp/sqlite-connection.cpp @@ -99,13 +99,13 @@ SQLite::Connection::ping() const DB::SelectCommand * -SQLite::Connection::newSelectCommand(const std::string & sql) const +SQLite::Connection::newSelectCommand(const std::string & sql) { return new SelectCommand(this, sql); } DB::ModifyCommand * -SQLite::Connection::newModifyCommand(const std::string & sql) const +SQLite::Connection::newModifyCommand(const std::string & sql) { return new ModifyCommand(this, sql); } diff --git a/libsqlitepp/sqlite-connection.h b/libsqlitepp/sqlite-connection.h index 0ec41dd..584d0a4 100644 --- a/libsqlitepp/sqlite-connection.h +++ b/libsqlitepp/sqlite-connection.h @@ -25,8 +25,8 @@ namespace SQLite { DB::BulkDeleteStyle bulkDeleteStyle() const override; DB::BulkUpdateStyle bulkUpdateStyle() const override; - DB::SelectCommand * newSelectCommand(const std::string & sql) const override; - DB::ModifyCommand * newModifyCommand(const std::string & sql) const override; + DB::SelectCommand * newSelectCommand(const std::string & sql) override; + DB::ModifyCommand * newModifyCommand(const std::string & sql) override; int64_t insertId() const override; |