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

Don't use Vector for memory pages storage.

Vector has POT data size and we know exactly how much is needed.
This commit is contained in:
Bartosz Taudul
2018-05-01 17:26:34 +02:00
parent 7266a979c3
commit e5934b409a
2 changed files with 11 additions and 10 deletions
+1 -1
View File
@@ -115,7 +115,7 @@ private:
void FindZonesCompare();
#endif
Vector<int8_t> GetMemoryPages() const;
std::pair<int8_t*, size_t> GetMemoryPages() const;
const char* GetPlotName( const PlotData* plot ) const;
flat_hash_map<const void*, bool, nohash<const void*>> m_visible;