diff options
Diffstat (limited to 'libsqlitepp/sqlite-error.cpp')
-rw-r--r-- | libsqlitepp/sqlite-error.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/libsqlitepp/sqlite-error.cpp b/libsqlitepp/sqlite-error.cpp index f1c62e5..0e4d084 100644 --- a/libsqlitepp/sqlite-error.cpp +++ b/libsqlitepp/sqlite-error.cpp @@ -1,14 +1,10 @@ #include "sqlite-error.h" #include <cstring> -SQLite::Error::Error(sqlite3 * db) : - msg(sqlite3_errmsg(db)) -{ -} +SQLite::Error::Error(sqlite3 * db) : msg(sqlite3_errmsg(db)) { } std::string SQLite::Error::message() const noexcept { return msg; } - |