mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2024-12-22 03:46:50 +01:00
Added 2 const qualifiers.
This commit is contained in:
parent
0a41054007
commit
474e253aa1
@ -433,7 +433,7 @@ public:
|
||||
return OK;
|
||||
}
|
||||
|
||||
String join(String delimiter) {
|
||||
String join(String delimiter) const {
|
||||
String rs = "";
|
||||
int s = size();
|
||||
Read r = read();
|
||||
|
@ -2802,7 +2802,7 @@ Vector<int> String::split_ints_mk(const Vector<String> &p_splitters, bool p_allo
|
||||
return ret;
|
||||
}
|
||||
|
||||
String String::join(Vector<String> parts) {
|
||||
String String::join(Vector<String> parts) const {
|
||||
String ret;
|
||||
for (int i = 0; i < parts.size(); ++i) {
|
||||
if (i > 0) {
|
||||
|
@ -405,7 +405,7 @@ public:
|
||||
Vector<int> split_ints(const String &p_splitter, bool p_allow_empty = true) const;
|
||||
Vector<int> split_ints_mk(const Vector<String> &p_splitters, bool p_allow_empty = true) const;
|
||||
|
||||
String join(Vector<String> parts);
|
||||
String join(Vector<String> parts) const;
|
||||
|
||||
static CharType char_uppercase(CharType p_char);
|
||||
static CharType char_lowercase(CharType p_char);
|
||||
|
Loading…
Reference in New Issue
Block a user