Ambiguous name fix

This commit is contained in:
Mateusz Karbowiak
2024-06-22 16:41:29 +02:00
parent 5f4aee71b8
commit cb3e8e4112
2 changed files with 2 additions and 2 deletions

View File

@@ -543,7 +543,7 @@ void Actor::SetLayerRecursive(int32 layerIndex)
OnLayerChanged(); OnLayerChanged();
} }
void Actor::SetName(String&& value) void Actor::SetNameNoCopy(String&& value)
{ {
if (_name == value) if (_name == value)
return; return;

View File

@@ -184,7 +184,7 @@ public:
/// <summary> /// <summary>
/// Sets the actor name without copying the string. /// Sets the actor name without copying the string.
/// </summary> /// </summary>
API_FUNCTION() void SetName(String&& value); void SetNameNoCopy(String&& value);
/// <summary> /// <summary>
/// Sets the actor name. /// Sets the actor name.