Fix codestyle and apply pr feedback

#2730
This commit is contained in:
Wojtek Figat
2024-07-25 10:52:54 +02:00
parent cf501945a3
commit 013dab4ba7
2 changed files with 5 additions and 4 deletions

View File

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

View File

@@ -182,15 +182,16 @@ public:
}
/// <summary>
/// Sets the actor name without copying the string.
/// Sets the actor name.
/// </summary>
void SetNameNoCopy(String&& value);
/// <param name="value">The value to set.</param>
API_PROPERTY() void SetName(String&& value);
/// <summary>
/// Sets the actor name.
/// </summary>
/// <param name="value">The value to set.</param>
API_PROPERTY() void SetName(const StringView& value);
void SetName(const StringView& value);
public:
/// <summary>