Skip to content
Snippets Groups Projects
Commit 27708931 authored by Dmitri Naumov's avatar Dmitri Naumov
Browse files

[BL] ConfigTree; Replace deprecated uncaught_excpt

The `bool uncaught_exception()' is deprecated since c++17
and is replaced by `int uncaught_exceptions()'.
parent 4ec3d9cd
No related branches found
No related tags found
No related merge requests found
......@@ -73,7 +73,8 @@ ConfigTree(ConfigTree && other)
ConfigTree::~ConfigTree()
{
if (std::uncaught_exception()) {
if (std::uncaught_exceptions() > 0)
{
/* If the stack unwinds the check below shall be suppressed in order to
* not accumulate false-positive configuration errors.
*/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment