aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRobin Krahl <me@robin-krahl.de>2017-03-23 23:58:04 +0100
committerRobin Krahl <me@robin-krahl.de>2017-03-23 23:58:04 +0100
commitc2c7d5f263a41b344804caafa8991335345390c2 (patch)
tree32624d7b9e72ca7ccc78046d68c47bce95f5ec12 /src
parent53e470c8371e986622079355a5f1ef4c1832f310 (diff)
downloadsqlitepp-c2c7d5f263a41b344804caafa8991335345390c2.tar.gz
sqlitepp-c2c7d5f263a41b344804caafa8991335345390c2.tar.bz2
sqlitepp: Fix the initializer order for the Statement constructor
Diffstat (limited to 'src')
-rw-r--r--src/sqlitepp.cpp2
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() {