Skip to content

Commit

Permalink
Fixup: use C++17 uncaught_exceptions (extra s in exceptions)
Browse files Browse the repository at this point in the history
  • Loading branch information
wdeconinck committed Apr 29, 2024
1 parent 8beb990 commit 55e2045
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/atlas/runtime/trace/Logging.cc
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ void Logging::start(const std::string& title) {

void Logging::stop(const std::string& title, double seconds) {
if (enabled()) {
if (!std::uncaught_exception()){
if (!std::uncaught_exceptions()){
channel() << title << " ... done : " << seconds << "s" << std::endl;
}
}
Expand Down

0 comments on commit 55e2045

Please sign in to comment.