Remove unused lambda capture.

This commit is contained in:
Bartosz Taudul 2019-11-10 00:00:15 +01:00
parent 3a317c81c6
commit 40e9c8807d

View File

@ -4106,7 +4106,7 @@ void Worker::ProcessPlotData( const QueuePlotData& ev )
void Worker::ProcessPlotConfig( const QueuePlotConfig& ev ) void Worker::ProcessPlotConfig( const QueuePlotConfig& ev )
{ {
PlotData* plot = m_data.plots.Retrieve( ev.name, [this, &ev] ( uint64_t name ) { PlotData* plot = m_data.plots.Retrieve( ev.name, [this] ( uint64_t name ) {
auto plot = m_slab.AllocInit<PlotData>(); auto plot = m_slab.AllocInit<PlotData>();
plot->name = name; plot->name = name;
plot->type = PlotType::User; plot->type = PlotType::User;