Use custom vector to store plot items.

This commit is contained in:
Bartosz Taudul 2017-10-19 20:14:31 +02:00
parent 0519df4dfc
commit 6e4343c043
2 changed files with 2 additions and 2 deletions

View File

@ -1021,7 +1021,7 @@ void View::InsertPlot( PlotData* plot, int64_t time, double val )
if( plot->min > val ) plot->min = val;
else if( plot->max < val ) plot->max = val;
}
plot->data.emplace_back( PlotItem { time, val } );
plot->data.push_back( PlotItem { time, val } );
}
else
{

View File

@ -87,7 +87,7 @@ private:
double min;
double max;
bool enabled;
std::vector<PlotItem> data;
Vector<PlotItem> data;
};
void Worker();