diff --git a/server/TracyView.cpp b/server/TracyView.cpp index 375cb172..cd9f5c0e 100644 --- a/server/TracyView.cpp +++ b/server/TracyView.cpp @@ -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 { diff --git a/server/TracyView.hpp b/server/TracyView.hpp index 4d74a87e..3a5760af 100644 --- a/server/TracyView.hpp +++ b/server/TracyView.hpp @@ -87,7 +87,7 @@ private: double min; double max; bool enabled; - std::vector data; + Vector data; }; void Worker();