Skip to content

Commit

Permalink
workaround for gcc c++20 bogus warnings
Browse files Browse the repository at this point in the history
Signed-off-by: Tim Paine <timothy.paine@cubistsystematic.com>
  • Loading branch information
svatasoiu authored and timkpaine committed Feb 22, 2024
1 parent bd74d43 commit 6cc30bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cpp/csp/core/Exception.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ class Exception : public std::exception
m_full = m_file + ":" + m_function + ":" + std::to_string( m_line ) + ":";
m_full += m_exType + ": " + m_description;
if( includeBacktrace && m_backtracesize > 0 )
m_full += "\n" + backtraceString();
m_full += '\n' + backtraceString();
return m_full;
}
const std::string & description() const noexcept { return m_description; }
Expand Down

0 comments on commit 6cc30bd

Please sign in to comment.