summaryrefslogtreecommitdiff
path: root/libsqlitepp/sqlite-connection.cpp
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2015-12-29 04:35:17 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2015-12-29 06:00:07 +0000
commita332399e83efe03ae4f203b89141f6af0d19e60b (patch)
tree318240be9733e5e4dfcd527126cc9ec3751a3cc5 /libsqlitepp/sqlite-connection.cpp
parentNon-const command getters (diff)
downloadlibdbpp-sqlite-a332399e83efe03ae4f203b89141f6af0d19e60b.tar.bz2
libdbpp-sqlite-a332399e83efe03ae4f203b89141f6af0d19e60b.tar.xz
libdbpp-sqlite-a332399e83efe03ae4f203b89141f6af0d19e60b.zip
Non-const insertId
Diffstat (limited to 'libsqlitepp/sqlite-connection.cpp')
-rw-r--r--libsqlitepp/sqlite-connection.cpp2
1 files changed, 1 insertions, 1 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);
}