Merge pull request #67 from tholdawa/constFix

Change path::toString to be a const function
This commit is contained in:
Vincent Richard 2014-01-26 12:42:05 -08:00
commit ebfd1ecfef
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; string str;

View File

@ -175,7 +175,7 @@ public:
* vmime::charset::getLocalCharset() to use the default charset of your system) * vmime::charset::getLocalCharset() to use the default charset of your system)
* @return a string representing this path * @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: private: