Skip to content

Commit 1e3dc8c

Browse files
[Serialization] Fix a warning
This patch fixes: clang/lib/Serialization/ASTReader.cpp:9978:27: error: lambda capture 'this' is not used [-Werror,-Wunused-lambda-capture]
1 parent 04ab647 commit 1e3dc8c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/lib/Serialization/ASTReader.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9975,7 +9975,7 @@ void ASTReader::finishPendingActions() {
99759975
return false;
99769976
};
99779977

9978-
auto hasDefinition = [this, &hasDefinitionImpl](Decl *D) {
9978+
auto hasDefinition = [&hasDefinitionImpl](Decl *D) {
99799979
return hasDefinitionImpl(D, hasDefinitionImpl);
99809980
};
99819981

0 commit comments

Comments
 (0)