1
0
mirror of https://github.com/wolfpld/tracy synced 2025-05-06 07:03:52 +00:00

Force inline GetPage().

This commit is contained in:
Bartosz Taudul 2019-05-19 13:45:02 +02:00
parent 30c398cd96
commit 9122d3516c

View File

@ -9326,7 +9326,7 @@ struct MemoryPage
int8_t data[PageSize]; int8_t data[PageSize];
}; };
static inline MemoryPage& GetPage( flat_hash_map<uint64_t, MemoryPage, nohash<uint64_t>>& memmap, uint64_t page ) static tracy_force_inline MemoryPage& GetPage( flat_hash_map<uint64_t, MemoryPage, nohash<uint64_t>>& memmap, uint64_t page )
{ {
auto it = memmap.find( page ); auto it = memmap.find( page );
if( it == memmap.end() ) if( it == memmap.end() )