mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-10 00:08:07 +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());
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -168,10 +168,7 @@ public:
|
|||
{
|
||||
}
|
||||
|
||||
~JSONPlaceholder()
|
||||
{
|
||||
assert(!first || std::uncaught_exception());
|
||||
}
|
||||
~JSONPlaceholder();
|
||||
|
||||
template<typename T>
|
||||
void write(const T & v)
|
||||
|
|
Loading…
Reference in a new issue