Skip to content
Snippets Groups Projects
Commit 44a2163f authored by Florent Lamiraux's avatar Florent Lamiraux
Browse files

Make ExceptionAbstract::getStringMessage const

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