diff --git a/server/TracyVector.hpp b/server/TracyVector.hpp index 43b16061..4abc87f7 100644 --- a/server/TracyVector.hpp +++ b/server/TracyVector.hpp @@ -322,6 +322,11 @@ private: uint32_t m_size; uint8_t m_capacity; }; + + +template struct VectorAdapterDirect { const T& operator()( const T& it ) const { return it; } }; +template struct VectorAdapterPointer { const T& operator()( const short_ptr& it ) const { return *it; } }; + #pragma pack() enum { VectorSize = sizeof( Vector ) };