Skip to content

Commit 2c98065

Browse files
Update clang-tools-extra/clang-tidy/modernize/UseStructuredBindingCheck.cpp
Co-authored-by: EugeneZelenko <[email protected]>
1 parent 8fa2edc commit 2c98065

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang-tools-extra/clang-tidy/modernize/UseStructuredBindingCheck.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -391,7 +391,7 @@ void UseStructuredBindingCheck::check(const MatchFinder::MatchResult &Result) {
391391
const std::optional<TransferType> FirstVarCaptureType =
392392
getTransferType(*Result.Context, FirstVar->getType(),
393393
*Result.Nodes.getNodeAs<QualType>(FirstTypeName));
394-
std::optional<TransferType> SecondVarCaptureType =
394+
const std::optional<TransferType> SecondVarCaptureType =
395395
getTransferType(*Result.Context, SecondVar->getType(),
396396
*Result.Nodes.getNodeAs<QualType>(SecondTypeName));
397397
if (!PairCaptureType || !FirstVarCaptureType || !SecondVarCaptureType ||

0 commit comments

Comments
 (0)