1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-16 23:42:43 +01:00

Revert "std::uncaught_exception() -> std::uncaught_exceptions()"

This reverts commit 6b83174fff because
it doesn't work on macOS yet.

https://hydra.nixos.org/build/102617587
This commit is contained in:
Eelco Dolstra 2019-10-04 16:34:59 +02:00
parent 15e70c662e
commit 93b1ce1ac5
No known key found for this signature in database
GPG key ID: 8170B4726D7198DE
3 changed files with 3 additions and 3 deletions

View file

@ -229,7 +229,7 @@ struct ConnectionHandle
~ConnectionHandle()
{
if (!daemonException && std::uncaught_exceptions()) {
if (!daemonException && std::uncaught_exception()) {
handle.markBad();
debug("closing daemon connection because of an exception");
}