Skip to content

Commit 3d50622

Browse files
committed
Fix a bug with demangling reference storage that I just introduced.
Somehow this only broke tests on the 5.0 branch.
1 parent a9da803 commit 3d50622

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stdlib/public/runtime/Private.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ class TypeInfo {
6363
: Response{nullptr, MetadataState::Abstract}, ReferenceOwnership() {}
6464

6565
TypeInfo(MetadataResponse response, TypeReferenceOwnership ownership)
66-
: Response(response), ReferenceOwnership() {}
66+
: Response(response), ReferenceOwnership(ownership) {}
6767

6868
// FIXME: remove this constructor and require a response in all cases.
6969
TypeInfo(const Metadata *type, TypeReferenceOwnership ownership)

0 commit comments

Comments
 (0)