ext/tracy: Silence warnings

This commit is contained in:
Jakob Bornecrantz committed 2023-03-11 13:00:38 +00:00
1 parent be7d5c0c2a
commit 5da159ce8f
2 files changed
+8 -1

No files matched your search

+7
View File
@@ -178,6 +178,13 @@ class Profiler
uint64_t ptr;
uint64_t extra;
uint32_t id;
SymbolQueueItem(SymbolQueueItemType type, uint64_t ptr)
: SymbolQueueItem(type, ptr, 0) {}
SymbolQueueItem(SymbolQueueItemType type, uint64_t ptr, uint64_t extra)
: SymbolQueueItem(type, ptr, extra, 0) {}
SymbolQueueItem(SymbolQueueItemType type, uint64_t ptr, uint64_t extra, uint32_t id)
: type{type}, ptr{ptr}, extra{extra}, id{id} {}
};
public:
+1 -1
View File
@@ -699,7 +699,7 @@ static pthread_key_t _memory_thread_heap;
# define _Thread_local __thread
# endif
# endif
static _Thread_local heap_t* _memory_thread_heap TLS_MODEL;
static thread_local heap_t* _memory_thread_heap TLS_MODEL;
#endif
static inline heap_t*