aboutsummaryrefslogtreecommitdiff
path: root/src/libstore
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2019-09-13 20:05:27 +0200
committerEelco Dolstra <edolstra@gmail.com>2019-09-13 20:05:44 +0200
commit6b83174ffffbdfc3f876d94d5178e0b83f675cae (patch)
tree8833453d07470edd8099d2f556ac5740e15b1239 /src/libstore
parentcf4c31c872ac7fbf9c926a49303c5b8b5ffd02c8 (diff)
std::uncaught_exception() -> std::uncaught_exceptions()
The former is deprecated in C++17. Fixes a clang warning.
Diffstat (limited to 'src/libstore')
-rw-r--r--src/libstore/remote-store.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstore/remote-store.cc b/src/libstore/remote-store.cc
index e38fe49a7..89b699414 100644
--- a/src/libstore/remote-store.cc
+++ b/src/libstore/remote-store.cc
@@ -228,7 +228,7 @@ struct ConnectionHandle
~ConnectionHandle()
{
- if (!daemonException && std::uncaught_exception()) {
+ if (!daemonException && std::uncaught_exceptions()) {
handle.markBad();
debug("closing daemon connection because of an exception");
}