You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-09 12:50:35 +00:00
Synchronize parameter names in definition and declaration
Fixes #10244.
This commit is contained in:
committed by
Rémi Verschelde
parent
b1ecaaa22b
commit
00f6c85928
@@ -279,16 +279,16 @@ void String::operator=(const CharType *p_str) {
|
||||
copy_from(p_str);
|
||||
}
|
||||
|
||||
bool String::operator==(const StrRange &p_range) const {
|
||||
bool String::operator==(const StrRange &p_str_range) const {
|
||||
|
||||
int len = p_range.len;
|
||||
int len = p_str_range.len;
|
||||
|
||||
if (length() != len)
|
||||
return false;
|
||||
if (empty())
|
||||
return true;
|
||||
|
||||
const CharType *c_str = p_range.c_str;
|
||||
const CharType *c_str = p_str_range.c_str;
|
||||
const CharType *dst = &operator[](0);
|
||||
|
||||
/* Compare char by char */
|
||||
|
||||
Reference in New Issue
Block a user