mirror of
https://github.com/wolfpld/tracy
synced 2025-04-30 12:53:51 +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 );
|
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();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user