Skip to content

Commit 34a67f4

Browse files
committed
Update default SerializedKind in SILMoveOnlyDeinit copy constructor
1 parent 3c3c117 commit 34a67f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/swift/SIL/SILMoveOnlyDeinit.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ class SILMoveOnlyDeinit final : public SILAllocated<SILMoveOnlyDeinit> {
4848
unsigned serialized : 2;
4949

5050
SILMoveOnlyDeinit()
51-
: nominalDecl(nullptr), funcImpl(nullptr), serialized(false) {}
51+
: nominalDecl(nullptr), funcImpl(nullptr), serialized(unsigned(IsNotSerialized)) {}
5252

5353
SILMoveOnlyDeinit(NominalTypeDecl *nominaldecl, SILFunction *implementation,
5454
bool serialized);

0 commit comments

Comments
 (0)