summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libsqlitepp/sqlite-connection.cpp4
-rw-r--r--libsqlitepp/sqlite-connection.h4
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;