Fix crash in AssetProcessor on Mac

This commit is contained in:
SJ
2021-04-22 11:57:10 -07:00
committed by GitHub
@@ -388,9 +388,8 @@ namespace ScriptCanvas
{
AZ::ScriptCanvasAttributes::HiddenIndices uniqueIdIndex = { 0 };
auto builder = behaviorContext->Class<EventSender>("Unit Testing")
->Attribute(AZ::Script::Attributes::Scope, AZ::Script::Attributes::ScopeFlags::Common)
;
auto builder = behaviorContext->Class<EventSender>("Unit Testing");
builder->Attribute(AZ::Script::Attributes::Scope, AZ::Script::Attributes::ScopeFlags::Common);
builder->Method("Add Failure", &EventSender::AddFailure, { { {"", "", behaviorContext->MakeDefaultValue(UniqueId)}, {"Report", "additional notes for the test report"} } })
->Attribute(AZ::ScriptCanvasAttributes::HiddenParameterIndex, uniqueIdIndex)