Fix AssetProcessor crash on Mac

This commit is contained in:
amzn-sj
2021-04-22 10:06:28 -07:00
parent 568b31cf1c
commit 3aa0544076
@@ -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)