diff --git a/server/TracyView.cpp b/server/TracyView.cpp index dee118bc..33a24e73 100755 --- a/server/TracyView.cpp +++ b/server/TracyView.cpp @@ -350,7 +350,7 @@ void View::NewZone( Event* zone, uint64_t thread ) if( it == m_threadMap.end() ) { m_threadMap.emplace( thread, m_threads.size() ); - m_threads.emplace_back(); + m_threads.emplace_back( ThreadData { thread } ); timeline = &m_threads.back().timeline; } else diff --git a/server/TracyView.hpp b/server/TracyView.hpp index 0b76cca7..5867ba71 100755 --- a/server/TracyView.hpp +++ b/server/TracyView.hpp @@ -35,6 +35,7 @@ public: private: struct ThreadData { + uint64_t id; Vector timeline; };