mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-27 00:04:35 +00:00
Fix compilation errors.
This commit is contained in:
parent
61d71d8716
commit
c1ba647f5b
@ -5433,13 +5433,13 @@ template<typename T>
|
||||
static inline uint32_t GetZoneCallstack( const T& ev, const Worker& worker );
|
||||
|
||||
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();
|
||||
}
|
||||
|
||||
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();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user