diff options
author | Ibrahn Sahir <ibrahn.sahir@gmail.com> | 2018-12-03 20:25:23 +0000 |
---|---|---|
committer | Ibrahn Sahir <ibrahn.sahir@gmail.com> | 2018-12-03 20:25:23 +0000 |
commit | a758653199001ffb613e5b6d15d4a50920292fe3 (patch) | |
tree | 8dd13b8a2bdbc35287f8bc884f01efef81199e79 /core | |
parent | 6f9aa8727c8905fbc0c10ea8d214c7d31f01f467 (diff) |
const char* operator on CharString now const.
Diffstat (limited to 'core')
-rw-r--r-- | core/ustring.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/ustring.h b/core/ustring.h index d2766ec7a3..8e4dbd8031 100644 --- a/core/ustring.h +++ b/core/ustring.h @@ -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; |