1
0
mirror of https://github.com/wolfpld/tracy.git synced 2025-03-20 07:40:02 +08:00

Store matches in a map.

This commit is contained in:
Bartosz Taudul
2018-03-04 22:11:50 +01:00
parent 754279d6f1
commit f7829a7eae
2 changed files with 17 additions and 15 deletions
+1 -2
View File
@@ -164,8 +164,7 @@ private:
struct {
bool show;
std::vector<std::unique_ptr<ThreadData>> result;
std::vector<int32_t> match;
std::vector<bool> matchEnable;
flat_hash_map<int32_t, bool> match;
char pattern[1024] = { "" };
int maxZonesPerThread = -1;
int maxDepth = -1;