Skip to content

Commit

Permalink
smesh: [skip ci] comment out call of std::set_unexpected that has bee…
Browse files Browse the repository at this point in the history
…n removed in C++17
  • Loading branch information
wwmayer committed Nov 8, 2020
1 parent 035803e commit 694eebf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/3rdParty/salomesmesh/inc/Utils_ExceptHandlers.hxx
Expand Up @@ -42,7 +42,7 @@ class UTILS_EXPORT Unexpect { //save / retrieve unexpected exceptions treatment
// std::set_unexpected has been removed in C++17
Unexpect( PVF f )
{ /*old = std::set_unexpected(f);*/old = f; }
~Unexpect() { std::set_unexpected(old); }
~Unexpect() { /*std::set_unexpected(old);*/ }
#else
Unexpect( PVF f )
{ old = ::set_unexpected(f); }
Expand Down

0 comments on commit 694eebf

Please sign in to comment.