Skip to content

Commit 54607fa

Browse files
rsz: Fix warning in sort lambda expression
Signed-off-by: Anton Blanchard <[email protected]>
1 parent 93ab4b7 commit 54607fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/rsz/src/RepairHold.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ RepairHold::findHoldBuffer()
189189

190190
std::sort(buffers.begin(),
191191
buffers.end(),
192-
[this](const MetricBuffer& lhs, const MetricBuffer& rhs) {
192+
[](const MetricBuffer& lhs, const MetricBuffer& rhs) {
193193
return lhs.metric < rhs.metric;
194194
});
195195

0 commit comments

Comments
 (0)