Merge pull request #2656 from nemerle/versioned_property_redundant_ref

AZStd::ref prevented compiler from using RVO
monroegm-disable-blank-issue-2
AMZN-koppersr 5 years ago committed by GitHub
commit 0318419932
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -109,7 +109,7 @@ namespace ScriptEventData
{
VersionedProperty property = VersionedProperty("Void");
property.Set<const VoidType>(VoidType {});
return AZStd::ref(property);
return property;
}
template <typename T>

Loading…
Cancel
Save