Change path::toString to be a const function
This commit is contained in:
parent
66628d1fc5
commit
e09be498be
@ -292,7 +292,7 @@ path path::fromString(const string& str, const string& sep, const charset& cset)
|
||||
}
|
||||
|
||||
|
||||
const string path::toString(const string& sep, const charset& cset)
|
||||
const string path::toString(const string& sep, const charset& cset) const
|
||||
{
|
||||
string str;
|
||||
|
||||
|
@ -175,7 +175,7 @@ public:
|
||||
* vmime::charset::getLocalCharset() to use the default charset of your system)
|
||||
* @return a string representing this path
|
||||
*/
|
||||
const string toString(const string& sep, const charset& cset);
|
||||
const string toString(const string& sep, const charset& cset) const;
|
||||
|
||||
private:
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user