diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2018-08-21 00:13:30 +0100 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2018-08-21 00:13:30 +0100 |
commit | e488ba3edf187e8237f39bcbc3d3d5c358d6c124 (patch) | |
tree | a4c310d8d4f5bb4476baa5f3018d39cdf6a76d36 | |
parent | Rename submodule (diff) | |
download | libdbpp-e488ba3edf187e8237f39bcbc3d3d5c358d6c124.tar.bz2 libdbpp-e488ba3edf187e8237f39bcbc3d3d5c358d6c124.tar.xz libdbpp-e488ba3edf187e8237f39bcbc3d3d5c358d6c124.zip |
C++17 deprecation warnings from GCC 8.2
-rw-r--r-- | libdbpp/connection.cpp | 2 | ||||
m--------- | libdbpp/unittests/libdbpp-postgresql | 0 |
2 files changed, 1 insertions, 1 deletions
diff --git a/libdbpp/connection.cpp b/libdbpp/connection.cpp index 5c63d0a..91fdf6a 100644 --- a/libdbpp/connection.cpp +++ b/libdbpp/connection.cpp @@ -193,7 +193,7 @@ DB::TransactionScope::TransactionScope(DB::Connection & c) : DB::TransactionScope::~TransactionScope() { - if (std::uncaught_exception()) { + if (std::uncaught_exceptions()) { conn.rollbackTx(); } else { diff --git a/libdbpp/unittests/libdbpp-postgresql b/libdbpp/unittests/libdbpp-postgresql -Subproject fbad5dcdf8f17d1a3f3ff954f48b55d605d0a50 +Subproject f6686d1bf35611b779189f80b46079070809489 |