Change path::toString to be a const function

This commit is contained in:
tholdawa 2014-01-24 15:11:13 -08:00
parent 66628d1fc5
commit e09be498be
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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: