summaryrefslogtreecommitdiff
path: root/libsqlitepp/sqlite-error.cpp
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2019-02-24 13:30:22 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2019-02-24 13:30:22 +0000
commitef16da27477a2a234cab8aed1e072555d6bb410e (patch)
tree540a3ffaa7ade15ef4beca5a786bb9270721ed51 /libsqlitepp/sqlite-error.cpp
parentBring up-to-date with libdbpp. (diff)
downloadlibdbpp-sqlite-ef16da27477a2a234cab8aed1e072555d6bb410e.tar.bz2
libdbpp-sqlite-ef16da27477a2a234cab8aed1e072555d6bb410e.tar.xz
libdbpp-sqlite-ef16da27477a2a234cab8aed1e072555d6bb410e.zip
Bring inline with clang-tidy checks
Diffstat (limited to 'libsqlitepp/sqlite-error.cpp')
-rw-r--r--libsqlitepp/sqlite-error.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/libsqlitepp/sqlite-error.cpp b/libsqlitepp/sqlite-error.cpp
index 03ffac4..f1c62e5 100644
--- a/libsqlitepp/sqlite-error.cpp
+++ b/libsqlitepp/sqlite-error.cpp
@@ -1,5 +1,5 @@
#include "sqlite-error.h"
-#include <string.h>
+#include <cstring>
SQLite::Error::Error(sqlite3 * db) :
msg(sqlite3_errmsg(db))
@@ -7,7 +7,7 @@ SQLite::Error::Error(sqlite3 * db) :
}
std::string
-SQLite::Error::message() const throw()
+SQLite::Error::message() const noexcept
{
return msg;
}