aboutsummaryrefslogtreecommitdiff
path: root/src/libutil/json.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/libutil/json.hh')
-rw-r--r--src/libutil/json.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libutil/json.hh b/src/libutil/json.hh
index 02a39917f..45a22f011 100644
--- a/src/libutil/json.hh
+++ b/src/libutil/json.hh
@@ -170,7 +170,7 @@ public:
~JSONPlaceholder()
{
- assert(!first || std::uncaught_exception());
+ assert(!first || std::uncaught_exceptions());
}
template<typename T>