Add missing != operator to StringName

This commit is contained in:
Yuri Rubinsky
2022-12-20 17:22:44 +03:00
parent 2a04b18d37
commit 522d4243bf
4 changed files with 7 additions and 2 deletions

View File

@@ -169,6 +169,10 @@ bool StringName::operator!=(const String &p_name) const {
return !(operator==(p_name));
}
bool StringName::operator!=(const char *p_name) const {
return !(operator==(p_name));
}
bool StringName::operator!=(const StringName &p_name) const {
// the real magic of all this mess happens here.
// this is why path comparisons are very fast