Skip to content

Commit 103ba74

Browse files
committed
Fix type of deleted Stmt assignment operator
1 parent d97e7d9 commit 103ba74

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/swift/AST/Stmt.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ enum class StmtKind {
4444
/// Stmt - Base class for all statements in swift.
4545
class alignas(8) Stmt {
4646
Stmt(const Stmt&) = delete;
47-
void operator=(const Stmt&) = delete;
47+
Stmt& operator=(const Stmt&) = delete;
4848

4949
/// Kind - The subclass of Stmt that this is.
5050
unsigned Kind : 31;

0 commit comments

Comments
 (0)