Make std::uncaught_exception warning less noisy
This commit is contained in:
parent
926d3e5bb0
commit
55bba8e4f5
|
@ -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