diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2020-11-18 16:55:31 +0000 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2020-11-18 16:55:31 +0000 |
commit | 0af57e2595922c9ee59d7cd489daf37a3550496c (patch) | |
tree | 73f8069e421e64222380fb3d30b2fb1277f80cd3 /libsqlitepp/sqlite-command.cpp | |
parent | Fixes for tidy (diff) | |
download | libdbpp-sqlite-0af57e2595922c9ee59d7cd489daf37a3550496c.tar.bz2 libdbpp-sqlite-0af57e2595922c9ee59d7cd489daf37a3550496c.tar.xz libdbpp-sqlite-0af57e2595922c9ee59d7cd489daf37a3550496c.zip |
Clang format
Diffstat (limited to 'libsqlitepp/sqlite-command.cpp')
-rw-r--r-- | libsqlitepp/sqlite-command.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/libsqlitepp/sqlite-command.cpp b/libsqlitepp/sqlite-command.cpp index 0020679..124b5d0 100644 --- a/libsqlitepp/sqlite-command.cpp +++ b/libsqlitepp/sqlite-command.cpp @@ -3,10 +3,7 @@ #include <cstdlib> #include <cstring> -SQLite::Command::Command(const Connection * conn, const std::string & sql) : - DB::Command(sql), - c(conn), - stmt(nullptr) +SQLite::Command::Command(const Connection * conn, const std::string & sql) : DB::Command(sql), c(conn), stmt(nullptr) { if (sqlite3_prepare_v2(conn->db, sql.c_str(), sql.length(), &stmt, nullptr) != SQLITE_OK) { throw Error(conn->db); @@ -108,4 +105,3 @@ SQLite::Command::bindNull(unsigned int n) throw Error(c->db); } } - |