Skip to content

Commit 70df9df

Browse files
committed
Fix const
on-behalf-of: @amd <[email protected]>
1 parent 31366e6 commit 70df9df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang-tools-extra/clang-tidy/bugprone/DefaultLambdaCaptureCheck.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ void DefaultLambdaCaptureCheck::check(const MatchFinder::MatchResult &Result) {
2828
const auto *Lambda = Result.Nodes.getNodeAs<LambdaExpr>("lambda");
2929
assert(Lambda);
3030

31-
SourceLocation DefaultCaptureLoc = Lambda->getCaptureDefaultLoc();
31+
const SourceLocation DefaultCaptureLoc = Lambda->getCaptureDefaultLoc();
3232
if (DefaultCaptureLoc.isInvalid())
3333
return;
3434

0 commit comments

Comments
 (0)