mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-22 22:44:34 +00:00
Use custom vector to store plot items.
This commit is contained in:
parent
0519df4dfc
commit
6e4343c043
@ -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
|
||||
{
|
||||
|
@ -87,7 +87,7 @@ private:
|
||||
double min;
|
||||
double max;
|
||||
bool enabled;
|
||||
std::vector<PlotItem> data;
|
||||
Vector<PlotItem> data;
|
||||
};
|
||||
|
||||
void Worker();
|
||||
|
Loading…
Reference in New Issue
Block a user