mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-22 14:44:34 +00:00
Reorder tracy_lz4.cpp vs TracyProfiler.cpp in TracyClient.cpp.
This fixes deprecation warning in tracy_lz4.hpp, which was previously present due to TracyProfiler.cpp including tracy_lz4.hpp before an appropriate deprecation restraining macro was defined in tracy_lz4.cpp. Note that this issue was only present if TracyClient.cpp was used to include the profiler in a project. Including the profiler as a collection of separate source files worked correctly, as the deprecated function is only used by tracy_lz4.cpp.
This commit is contained in:
parent
b1ba2f9bf7
commit
5cbe2c6ae5
@ -15,9 +15,9 @@
|
||||
|
||||
#ifdef TRACY_ENABLE
|
||||
|
||||
#include "common/tracy_lz4.cpp"
|
||||
#include "client/TracyProfiler.cpp"
|
||||
#include "client/TracyCallstack.cpp"
|
||||
#include "common/tracy_lz4.cpp"
|
||||
#include "common/TracySocket.cpp"
|
||||
#include "client/tracy_rpmalloc.cpp"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user