mirror of
https://github.com/NixOS/nix
synced 2025-06-26 11:41:15 +02:00
Make std::uncaught_exception warning less noisy
This commit is contained in:
parent
926d3e5bb0
commit
55bba8e4f5
2 changed files with 6 additions and 4 deletions
|
@ -171,4 +171,9 @@ JSONObject JSONPlaceholder::object()
|
|||
return JSONObject(state);
|
||||
}
|
||||
|
||||
JSONPlaceholder::~JSONPlaceholder()
|
||||
{
|
||||
assert(!first || std::uncaught_exception());
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue