1
0
mirror of https://github.com/wolfpld/tracy synced 2025-04-29 12:23:53 +00:00

Allow no-nonsense access to internal short_ptr pointer.

This commit is contained in:
Bartosz Taudul 2020-01-31 19:06:21 +01:00
parent 5f91b48e0c
commit f86fbe7fd5

View File

@ -25,6 +25,9 @@ public:
tracy_force_inline T* operator->() { return Get(); }
tracy_force_inline const T* operator->() const { return Get(); }
tracy_force_inline T* get() { return Get(); }
tracy_force_inline const T* get() const { return Get(); }
private:
tracy_force_inline void Set( const T* ptr )
{