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

Fix compilation errors.

This commit is contained in:
Bartosz Taudul 2020-01-26 17:48:19 +01:00
parent 61d71d8716
commit c1ba647f5b

View File

@ -5433,13 +5433,13 @@ template<typename T>
static inline uint32_t GetZoneCallstack( const T& ev, const Worker& worker ); static inline uint32_t GetZoneCallstack( const T& ev, const Worker& worker );
template<> template<>
static inline uint32_t GetZoneCallstack<ZoneEvent>( const ZoneEvent& ev, const Worker& worker ) inline uint32_t GetZoneCallstack<ZoneEvent>( const ZoneEvent& ev, const Worker& worker )
{ {
return worker.GetZoneExtra( ev ).callstack.Val(); return worker.GetZoneExtra( ev ).callstack.Val();
} }
template<> template<>
static inline uint32_t GetZoneCallstack<GpuEvent>( const GpuEvent& ev, const Worker& worker ) inline uint32_t GetZoneCallstack<GpuEvent>( const GpuEvent& ev, const Worker& worker )
{ {
return ev.callstack.Val(); return ev.callstack.Val();
} }