Removed string copy per PR feedback

Signed-off-by: lsemp3d <58790905+lsemp3d@users.noreply.github.com>
This commit is contained in:
lsemp3d
2021-11-17 07:56:09 -08:00
parent a623f04f46
commit 416b44333e
@@ -1020,12 +1020,12 @@ namespace ScriptCanvasEditor
GraphCanvas::TranslationKey key;
AZStd::string updatedMethodName = methodName;
AZStd::string updatedMethodName;
if (propertyStatus != ScriptCanvas::PropertyStatus::None)
{
updatedMethodName = (propertyStatus == ScriptCanvas::PropertyStatus::Getter) ? "Get" : "Set";
updatedMethodName.append(methodName);
}
updatedMethodName += methodName;
key << "BehaviorClass" << methodClass.c_str() << "methods" << updatedMethodName << "details";
GraphCanvas::TranslationRequests::Details details;