Commit 44a2163f authored by florent's avatar florent
Browse files

Make ExceptionAbstract::getStringMessage const

     * include/dynamic-graph/exception-abstract.h,
     * src/exception/exception-abstract.cpp.
parent 022b0d4d
......@@ -80,7 +80,7 @@ public:
int getCode (void);
/** Reference access to the error message (can be empty). */
const std::string &getStringMessage (void);
const std::string& getStringMessage (void) const;
/** Access to the pointer on the array of \e char related to the error string.
* Cannot be \e NULL.
......@@ -54,8 +54,8 @@ getMessage (void)
return (this->message) .c_str();
const string &ExceptionAbstract::
getStringMessage (void)
const string& ExceptionAbstract::
getStringMessage (void) const
return this->message;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment