From b8ddecf41c8938136b3f4a081e1b8a98584c2401 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Sat, 16 Feb 2019 14:20:26 +0000 Subject: Modernize clang tidy fixes --- libmysqlpp/my-error.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libmysqlpp/my-error.cpp') 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 +#include 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; } -- cgit v1.2.3