fix const correctness
This commit is contained in:
parent
269539741c
commit
2f9d1b7a1f
1 changed files with 2 additions and 2 deletions
|
|
@ -66,7 +66,7 @@ public:
|
||||||
virtual ~Exception() throw () {}
|
virtual ~Exception() throw () {}
|
||||||
|
|
||||||
//! The method to use for printing the complete description of the exception
|
//! The method to use for printing the complete description of the exception
|
||||||
std::string what()
|
std::string what() const
|
||||||
{
|
{
|
||||||
std::ostringstream msg;
|
std::ostringstream msg;
|
||||||
msg << description << " (<" << name << "> in " << function << " at " << file << ":" << line << ")";
|
msg << description << " (<" << name << "> in " << function << " at " << file << ":" << line << ")";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue