diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2019-10-04 16:34:59 +0200 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2019-10-04 16:34:59 +0200 |
commit | 93b1ce1ac522ff92626da5cdd689008063935844 (patch) | |
tree | 5b69025d7eda1871733a00c8135c008784d81c46 /src/libutil/json.hh | |
parent | 15e70c662e86c42658cdbc76b54da0f3f2be3c30 (diff) |
Revert "std::uncaught_exception() -> std::uncaught_exceptions()"
This reverts commit 6b83174ffffbdfc3f876d94d5178e0b83f675cae because
it doesn't work on macOS yet.
https://hydra.nixos.org/build/102617587
Diffstat (limited to 'src/libutil/json.hh')
-rw-r--r-- | src/libutil/json.hh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libutil/json.hh b/src/libutil/json.hh index 45a22f011..02a39917f 100644 --- a/src/libutil/json.hh +++ b/src/libutil/json.hh @@ -170,7 +170,7 @@ public: ~JSONPlaceholder() { - assert(!first || std::uncaught_exceptions()); + assert(!first || std::uncaught_exception()); } template<typename T> |