This commit is contained in:
Alkım Deniz Altıntaş 2022-02-04 01:42:29 +03:00
parent ea023e3eea
commit 1acaa9e9cd

View file

@ -33,7 +33,7 @@ namespace gd {
string& operator=(char const* ok);
string& operator=(string const& ok);
__attribute__((noinline)) ~string();
char const* c_str() {return (char const*)m_data; }
char const* c_str() const {return (char const*)m_data; }
protected:
_internal_string* m_data;
};