Change StringName -> String conversion from operator String() to string().

This commit is contained in:
Lukas Tenbrink
2026-04-22 19:00:04 +02:00
parent f964fa714f
commit 2659124e66
47 changed files with 126 additions and 125 deletions
+6 -5
View File
@@ -125,12 +125,13 @@ public:
return (void *)_data;
}
_FORCE_INLINE_ operator String() const {
if (_data) {
return _data->name;
}
_FORCE_INLINE_ const String &string() const {
static const String EMPTY;
return _data ? _data->name : EMPTY;
}
return String();
_FORCE_INLINE_ operator const String &() const {
return string();
}
struct AlphCompare {