Skip to content

Commit

Permalink
Update PCGExData.h
Browse files Browse the repository at this point in the history
  • Loading branch information
Nebukam committed Oct 9, 2024
1 parent 54a5cfe commit 306ec07
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Source/PCGExtendedToolkit/Public/Data/PCGExData.h
Original file line number Diff line number Diff line change
Expand Up @@ -222,9 +222,13 @@ namespace PCGExData

UPCGMetadata* InMetadata = Source->GetIn()->Metadata;

check(InMetadata)

// 'template' spec required for clang on mac, not sure why.
// ReSharper disable once CppRedundantTemplateKeyword
TypedInAttribute = InMetadata->template GetConstTypedAttribute<T>(FullName);
if (!TypedInAttribute) { return false; }

InAccessor = MakeUnique<FPCGAttributeAccessor<T>>(TypedInAttribute, InMetadata);

if (!TypedInAttribute || !InAccessor.IsValid())
Expand Down

0 comments on commit 306ec07

Please sign in to comment.