diff options
Diffstat (limited to 'libsqlitepp/sqlite-error.cpp')
-rw-r--r-- | libsqlitepp/sqlite-error.cpp | 4 |
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; } |