Removed string copy per PR feedback

Signed-off-by: lsemp3d <58790905+lsemp3d@users.noreply.github.com>
monroegm-disable-blank-issue-2
lsemp3d 4 years ago
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;

Loading…
Cancel
Save