From ce2bf7c207b8a06ea649aab3ed04d806ef442060 Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Sun, 18 Mar 2018 21:15:31 +0100 Subject: [PATCH] Use Vector instead of std::vector for thread zone list. --- server/TracyView.cpp | 2 +- server/TracyView.hpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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] = { "" };