summaryrefslogtreecommitdiff
path: root/libmysqlpp/my-error.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libmysqlpp/my-error.cpp')
-rw-r--r--libmysqlpp/my-error.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/libmysqlpp/my-error.cpp b/libmysqlpp/my-error.cpp
index 4867e0d..f563236 100644
--- a/libmysqlpp/my-error.cpp
+++ b/libmysqlpp/my-error.cpp
@@ -1,5 +1,5 @@
#include "my-error.h"
-#include <string.h>
+#include <cstring>
MySQL::Error::Error(MYSQL * m) :
msg(mysql_error(m))
@@ -12,7 +12,7 @@ MySQL::Error::Error(MYSQL_STMT * m) :
}
std::string
-MySQL::Error::message() const throw()
+MySQL::Error::message() const noexcept
{
return msg;
}