fix const correctness

This commit is contained in:
Johann Dreo 2022-08-29 17:26:25 +02:00
commit 2f9d1b7a1f

View file

@ -66,7 +66,7 @@ public:
virtual ~Exception() throw () {}
//! The method to use for printing the complete description of the exception
std::string what()
std::string what() const
{
std::ostringstream msg;
msg << description << " (<" << name << "> in " << function << " at " << file << ":" << line << ")";