Skip to content

Commit 825e467

Browse files
committed
[gardening] Silence a warning.
1 parent fb6974e commit 825e467

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/swift/Parse/PatternBindingState.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ struct PatternBindingState {
120120

121121
PatternBindingState
122122
getPatternBindingStateForIntroducer(VarDecl::Introducer defaultValue) {
123-
return PatternBindingState(getIntroducer().getValueOr(defaultValue));
123+
return PatternBindingState(getIntroducer().value_or(defaultValue));
124124
}
125125

126126
Optional<unsigned> getSelectIndexForIntroducer() const {

0 commit comments

Comments
 (0)