summaryrefslogtreecommitdiff
path: root/libsqlitepp
diff options
context:
space:
mode:
Diffstat (limited to 'libsqlitepp')
-rw-r--r--libsqlitepp/sqlite-connection.cpp2
-rw-r--r--libsqlitepp/sqlite-connection.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/libsqlitepp/sqlite-connection.cpp b/libsqlitepp/sqlite-connection.cpp
index a4c10b7..a284a2e 100644
--- a/libsqlitepp/sqlite-connection.cpp
+++ b/libsqlitepp/sqlite-connection.cpp
@@ -111,7 +111,7 @@ SQLite::Connection::newModifyCommand(const std::string & sql)
}
int64_t
-SQLite::Connection::insertId() const
+SQLite::Connection::insertId()
{
return sqlite3_last_insert_rowid(db);
}
diff --git a/libsqlitepp/sqlite-connection.h b/libsqlitepp/sqlite-connection.h
index 584d0a4..4f705a3 100644
--- a/libsqlitepp/sqlite-connection.h
+++ b/libsqlitepp/sqlite-connection.h
@@ -28,7 +28,7 @@ namespace SQLite {
DB::SelectCommand * newSelectCommand(const std::string & sql) override;
DB::ModifyCommand * newModifyCommand(const std::string & sql) override;
- int64_t insertId() const override;
+ int64_t insertId() override;
sqlite3 * db;