From af520626793966ad435f655970b7df38bce0c629 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Tue, 29 Dec 2015 04:28:57 +0000 Subject: Non-const command getters --- libsqlitepp/sqlite-connection.cpp | 4 ++-- libsqlitepp/sqlite-connection.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'libsqlitepp') 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; -- cgit v1.2.3