mirror of
https://github.com/godotengine/godot.git
synced 2025-01-24 21:01:50 +08:00
const char* operator on CharString now const.
This commit is contained in:
parent
6f9aa8727c
commit
a758653199
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user