Skip to content

Commit 8fa2edc

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

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
@@ -388,7 +388,7 @@ void UseStructuredBindingCheck::check(const MatchFinder::MatchResult &Result) {
388388

389389
const std::optional<TransferType> PairCaptureType =
390390
getTransferType(*Result.Context, PairVar->getType(), InitE->getType());
391-
std::optional<TransferType> FirstVarCaptureType =
391+
const std::optional<TransferType> FirstVarCaptureType =
392392
getTransferType(*Result.Context, FirstVar->getType(),
393393
*Result.Nodes.getNodeAs<QualType>(FirstTypeName));
394394
std::optional<TransferType> SecondVarCaptureType =

0 commit comments

Comments
 (0)