diff --git a/server/TracyView.cpp b/server/TracyView.cpp index 1802e2ef..1cd544a8 100644 --- a/server/TracyView.cpp +++ b/server/TracyView.cpp @@ -8915,7 +8915,7 @@ void View::DrawFindZone() ImGui::End(); } -void View::DrawZoneList( const Vector& zones ) +void View::DrawZoneList( const Vector>& zones ) { ImGui::Columns( 3 ); ImGui::Separator(); @@ -8929,8 +8929,8 @@ void View::DrawZoneList( const Vector& zones ) ImGui::NextColumn(); ImGui::Separator(); - const Vector* zonesToIterate = &zones; - Vector sortedZones; + const Vector>* zonesToIterate = &zones; + Vector> sortedZones; if( m_findZone.tableSortBy != FindZone::TableSortBy::Starttime ) { diff --git a/server/TracyView.hpp b/server/TracyView.hpp index a3ab621a..56c659e1 100644 --- a/server/TracyView.hpp +++ b/server/TracyView.hpp @@ -156,7 +156,7 @@ private: flat_hash_map> GetCallstackFrameTreeBottomUp( const MemData& mem ) const; flat_hash_map> GetCallstackFrameTreeTopDown( const MemData& mem ) const; void DrawFrameTreeLevel( const flat_hash_map>& tree, int& idx ); - void DrawZoneList( const Vector& zones ); + void DrawZoneList( const Vector>& zones ); void DrawInfoWindow(); void DrawZoneInfoWindow(); @@ -388,7 +388,7 @@ private: struct Group { - Vector zones; + Vector> zones; int64_t time = 0; };