Skip to content

Commit

Permalink
Remove unnecessary capture
Browse files Browse the repository at this point in the history
  • Loading branch information
shawnj007 authored Nov 16, 2022
1 parent b5fb0cc commit 18bc530
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/qtgui/plotter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1379,7 +1379,7 @@ void CPlotter::drawOverlay()
qint64 last_max = 0;
qint64 last_max_0 = 0;

std::sort(bands.begin(), bands.end(), [=]( const BandInfo& band1 , const BandInfo& band2 )->bool {
std::sort(bands.begin(), bands.end(), []( const BandInfo& band1 , const BandInfo& band2 )->bool {
if (band1.minFrequency == band2.minFrequency) {
if (band1.maxFrequency != band2.maxFrequency)
return band1.maxFrequency > band2.maxFrequency;
Expand Down

0 comments on commit 18bc530

Please sign in to comment.