const char* operator on CharString now const.

This commit is contained in:
Ibrahn Sahir 2018-12-03 20:25:23 +00:00
parent 6f9aa8727c
commit a758653199

View File

@ -63,7 +63,7 @@ public:
CharString &operator+=(char p_char);
int length() const { return size() ? size() - 1 : 0; }
const char *get_data() const;
operator const char *() { return get_data(); };
operator const char *() const { return get_data(); };
};
typedef wchar_t CharType;