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:
parent
5f91b48e0c
commit
f86fbe7fd5
@ -25,6 +25,9 @@ public:
|
|||||||
tracy_force_inline T* operator->() { return Get(); }
|
tracy_force_inline T* operator->() { return Get(); }
|
||||||
tracy_force_inline const T* operator->() const { 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:
|
private:
|
||||||
tracy_force_inline void Set( const T* ptr )
|
tracy_force_inline void Set( const T* ptr )
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user