Skip to content

Commit 28aa8df

Browse files
committed
Fix the build on 32-bit targets.
1 parent cba4c1e commit 28aa8df

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

stdlib/public/runtime/MetadataLookup.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1313,6 +1313,8 @@ class DecodedMetadataBuilder {
13131313
TypeReferenceOwnership ReferenceOwnership;
13141314

13151315
public:
1316+
using BuiltType = const Metadata *;
1317+
13161318
struct BuiltLayoutConstraint {
13171319
bool operator==(BuiltLayoutConstraint rhs) const { return true; }
13181320
operator bool() const { return true; }
@@ -1343,7 +1345,6 @@ class DecodedMetadataBuilder {
13431345
substGenericParameter(substGenericParameter),
13441346
substWitnessTable(substWitnessTable) { }
13451347

1346-
using BuiltType = const Metadata *;
13471348
using BuiltTypeDecl = const ContextDescriptor *;
13481349
using BuiltProtocolDecl = ProtocolDescriptorRef;
13491350
using BuiltGenericSignature = const Metadata *;

0 commit comments

Comments
 (0)