diff --git a/server/TracyView.cpp b/server/TracyView.cpp index 386442c0..b7deb49e 100644 --- a/server/TracyView.cpp +++ b/server/TracyView.cpp @@ -3160,7 +3160,7 @@ void View::DrawFindZone() } processed++; - m_findZone.threads[ev.thread].emplace_back( ev.zone ); + m_findZone.threads[ev.thread].push_back( ev.zone ); } m_findZone.processed = processed; diff --git a/server/TracyView.hpp b/server/TracyView.hpp index 5b1f483d..fb84d341 100644 --- a/server/TracyView.hpp +++ b/server/TracyView.hpp @@ -170,7 +170,7 @@ private: struct { bool show; std::vector match; - std::map> threads; + std::map> threads; size_t processed; int selMatch = 0; char pattern[1024] = { "" };