summaryrefslogtreecommitdiff
path: root/libsqlitepp/sqlite-error.cpp
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2020-11-18 16:55:31 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2020-11-18 16:55:31 +0000
commit0af57e2595922c9ee59d7cd489daf37a3550496c (patch)
tree73f8069e421e64222380fb3d30b2fb1277f80cd3 /libsqlitepp/sqlite-error.cpp
parentFixes for tidy (diff)
downloadlibdbpp-sqlite-0af57e2595922c9ee59d7cd489daf37a3550496c.tar.bz2
libdbpp-sqlite-0af57e2595922c9ee59d7cd489daf37a3550496c.tar.xz
libdbpp-sqlite-0af57e2595922c9ee59d7cd489daf37a3550496c.zip
Clang format
Diffstat (limited to 'libsqlitepp/sqlite-error.cpp')
-rw-r--r--libsqlitepp/sqlite-error.cpp6
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;
}
-