diff options
Diffstat (limited to 'core/string_name.cpp')
-rw-r--r-- | core/string_name.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/string_name.cpp b/core/string_name.cpp index 5e6d56e516..7f2da6151e 100644 --- a/core/string_name.cpp +++ b/core/string_name.cpp @@ -334,6 +334,7 @@ StringName StringName::search(const CharType *p_name) { return StringName(); //does not exist } + StringName StringName::search(const String &p_name) { ERR_FAIL_COND_V(p_name == "", StringName()); |