diff options
author | Robin Krahl <me@robin-krahl.de> | 2017-03-23 23:58:04 +0100 |
---|---|---|
committer | Robin Krahl <me@robin-krahl.de> | 2017-03-23 23:58:04 +0100 |
commit | c2c7d5f263a41b344804caafa8991335345390c2 (patch) | |
tree | 32624d7b9e72ca7ccc78046d68c47bce95f5ec12 | |
parent | 53e470c8371e986622079355a5f1ef4c1832f310 (diff) | |
download | sqlitepp-c2c7d5f263a41b344804caafa8991335345390c2.tar.gz sqlitepp-c2c7d5f263a41b344804caafa8991335345390c2.tar.bz2 |
sqlitepp: Fix the initializer order for the Statement constructor
-rw-r--r-- | src/sqlitepp.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sqlitepp.cpp b/src/sqlitepp.cpp index ef0dfa8..fc14f63 100644 --- a/src/sqlitepp.cpp +++ b/src/sqlitepp.cpp @@ -50,7 +50,7 @@ int DatabaseError::errorCode() const { } Statement::Statement(sqlite3_stmt* handle) - : Openable(true, "Statement"), m_canRead(false), m_handle(handle) { + : Openable(true, "Statement"), m_handle(handle), m_canRead(false) { } Statement::~Statement() { |