diff options
author | Ivan Krasin <krasin@chromium.org> | 2017-04-06 17:42:05 +0000 |
---|---|---|
committer | Ivan Krasin <krasin@chromium.org> | 2017-04-06 17:42:05 +0000 |
commit | 926f659fc8c6f5f7e98ff8d316e1bb86022520de (patch) | |
tree | c9ff6c9ae8ff6ad0e4efe133313224932cabb07e /lib/Analysis/CloneDetection.cpp | |
parent | 59d4b1de1aa934a4bc0216fdf8b5749c93bd462d (diff) |
Fix unused lambda capture. Follow up to r299653.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@299671 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/CloneDetection.cpp')
-rw-r--r-- | lib/Analysis/CloneDetection.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Analysis/CloneDetection.cpp b/lib/Analysis/CloneDetection.cpp index 033329a485..5bbcbe4e57 100644 --- a/lib/Analysis/CloneDetection.cpp +++ b/lib/Analysis/CloneDetection.cpp @@ -492,7 +492,7 @@ void RecursiveCloneTypeIIConstraint::constrain( // Sort hash_codes in StmtsByHash. std::stable_sort(StmtsByHash.begin(), StmtsByHash.end(), - [this](std::pair<size_t, StmtSequence> LHS, + [](std::pair<size_t, StmtSequence> LHS, std::pair<size_t, StmtSequence> RHS) { return LHS.first < RHS.first; }); |