From 339c177ee87548ef8062554fb1734e1ec298a3c2 Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Tue, 24 Oct 2017 22:30:43 +0200 Subject: [PATCH] Sort lock map. It is displayed in UI, so order is important. --- server/TracyView.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/server/TracyView.hpp b/server/TracyView.hpp index be45ab83..7bccf82c 100644 --- a/server/TracyView.hpp +++ b/server/TracyView.hpp @@ -2,6 +2,7 @@ #define __TRACYVIEW_HPP__ #include +#include #include #include #include @@ -225,7 +226,7 @@ private: std::unordered_map m_threadNames; std::unordered_set m_customStrings; std::unordered_map m_sourceLocation; - std::unordered_map m_lockMap; + std::map m_lockMap; uint64_t m_zonesCnt; std::mutex m_mbpslock;