diff --git a/include/opp/string.cpp b/include/opp/string.cpp index 0b4da19..86308ce 100644 --- a/include/opp/string.cpp +++ b/include/opp/string.cpp @@ -229,6 +229,10 @@ string & string::operator+=(char c) return *this; } +inline const char * string::c_str(void) const +{ + return this->tocstr(); +} inline const char * string::tocstr(void) const {