summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorIbrahn Sahir <ibrahn.sahir@gmail.com>2018-12-03 20:25:23 +0000
committerIbrahn Sahir <ibrahn.sahir@gmail.com>2018-12-03 20:25:23 +0000
commita758653199001ffb613e5b6d15d4a50920292fe3 (patch)
tree8dd13b8a2bdbc35287f8bc884f01efef81199e79 /core
parent6f9aa8727c8905fbc0c10ea8d214c7d31f01f467 (diff)
const char* operator on CharString now const.
Diffstat (limited to 'core')
-rw-r--r--core/ustring.h2
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;