From cb3e8e4112c4bbf9ba461d1fa386c6b699fba331 Mon Sep 17 00:00:00 2001 From: Mateusz Karbowiak <69864511+mtszkarbowiak@users.noreply.github.com> Date: Sat, 22 Jun 2024 16:41:29 +0200 Subject: [PATCH] Ambiguous name fix --- Source/Engine/Level/Actor.cpp | 2 +- Source/Engine/Level/Actor.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/Engine/Level/Actor.cpp b/Source/Engine/Level/Actor.cpp index 1cdfccd3b..08d2832d1 100644 --- a/Source/Engine/Level/Actor.cpp +++ b/Source/Engine/Level/Actor.cpp @@ -543,7 +543,7 @@ void Actor::SetLayerRecursive(int32 layerIndex) OnLayerChanged(); } -void Actor::SetName(String&& value) +void Actor::SetNameNoCopy(String&& value) { if (_name == value) return; diff --git a/Source/Engine/Level/Actor.h b/Source/Engine/Level/Actor.h index fdf587b07..787cc6835 100644 --- a/Source/Engine/Level/Actor.h +++ b/Source/Engine/Level/Actor.h @@ -184,7 +184,7 @@ public: /// /// Sets the actor name without copying the string. /// - API_FUNCTION() void SetName(String&& value); + void SetNameNoCopy(String&& value); /// /// Sets the actor name.