diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2022-01-27 11:03:13 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-27 11:03:13 +0100 |
commit | 899cd3442659f5208a08545b520ae6e6fe2552e7 (patch) | |
tree | c5ab709e12aa95ec25b570061da62f00fbc92876 /core/string | |
parent | a4f999b7dc1314da752692a19231d0c1a8e70601 (diff) | |
parent | 3eb5e0ac509def467d53df7a729e76743e235e90 (diff) |
Merge pull request #57281 from Rubonnek/rename-subsequence
Diffstat (limited to 'core/string')
-rw-r--r-- | core/string/ustring.cpp | 2 | ||||
-rw-r--r-- | core/string/ustring.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/core/string/ustring.cpp b/core/string/ustring.cpp index 93b2060155..93d75ff098 100644 --- a/core/string/ustring.cpp +++ b/core/string/ustring.cpp @@ -3080,7 +3080,7 @@ bool String::is_subsequence_of(const String &p_string) const { return _base_is_subsequence_of(p_string, false); } -bool String::is_subsequence_ofi(const String &p_string) const { +bool String::is_subsequence_ofn(const String &p_string) const { return _base_is_subsequence_of(p_string, true); } diff --git a/core/string/ustring.h b/core/string/ustring.h index 4840c236c0..16d6dc5bc3 100644 --- a/core/string/ustring.h +++ b/core/string/ustring.h @@ -285,7 +285,7 @@ public: bool ends_with(const String &p_string) const; bool is_enclosed_in(const String &p_string) const; bool is_subsequence_of(const String &p_string) const; - bool is_subsequence_ofi(const String &p_string) const; + bool is_subsequence_ofn(const String &p_string) const; bool is_quoted() const; Vector<String> bigrams() const; float similarity(const String &p_string) const; |