summaryrefslogtreecommitdiff
path: root/libpqpp/pq-error.cpp
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2019-02-16 14:20:14 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2019-02-16 14:20:14 +0000
commit1ca0cd42419656cf4a4b9e37c5f3cfb51ccafbb5 (patch)
treed25e0f98914be9875e9ebe00308b8141847c7910 /libpqpp/pq-error.cpp
parentMore clang tidy fixes (diff)
downloadlibdbpp-postgresql-1ca0cd42419656cf4a4b9e37c5f3cfb51ccafbb5.tar.bz2
libdbpp-postgresql-1ca0cd42419656cf4a4b9e37c5f3cfb51ccafbb5.tar.xz
libdbpp-postgresql-1ca0cd42419656cf4a4b9e37c5f3cfb51ccafbb5.zip
Modernize clang tidy fixes
Diffstat (limited to 'libpqpp/pq-error.cpp')
-rw-r--r--libpqpp/pq-error.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/libpqpp/pq-error.cpp b/libpqpp/pq-error.cpp
index 3a16185..964d66b 100644
--- a/libpqpp/pq-error.cpp
+++ b/libpqpp/pq-error.cpp
@@ -1,5 +1,4 @@
#include "pq-error.h"
-#include <string.h>
PQ::Error::Error(const PGconn * conn) :
msg(PQerrorMessage(conn))
@@ -7,7 +6,7 @@ PQ::Error::Error(const PGconn * conn) :
}
std::string
-PQ::Error::message() const throw()
+PQ::Error::message() const noexcept
{
return msg;
}