diff --git a/stdlib/public/runtime/MetadataLookup.cpp b/stdlib/public/runtime/MetadataLookup.cpp index 1500423e8cd2e..97d7e97457c67 100644 --- a/stdlib/public/runtime/MetadataLookup.cpp +++ b/stdlib/public/runtime/MetadataLookup.cpp @@ -1324,6 +1324,8 @@ class DecodedMetadataBuilder { TypeReferenceOwnership ReferenceOwnership; public: + using BuiltType = const Metadata *; + struct BuiltLayoutConstraint { bool operator==(BuiltLayoutConstraint rhs) const { return true; } operator bool() const { return true; } @@ -1354,7 +1356,6 @@ class DecodedMetadataBuilder { substGenericParameter(substGenericParameter), substWitnessTable(substWitnessTable) { } - using BuiltType = const Metadata *; using BuiltTypeDecl = const ContextDescriptor *; using BuiltProtocolDecl = ProtocolDescriptorRef; using BuiltGenericSignature = const Metadata *;