From ea4b64909ff47b59bcf29dbe1331f7d2ecdbd8c2 Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Sun, 2 Feb 2020 02:36:28 +0100 Subject: [PATCH] Fix 32-bit short_ptr. --- server/TracyShortPtr.hpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/server/TracyShortPtr.hpp b/server/TracyShortPtr.hpp index d1e36b3a..30f78516 100644 --- a/server/TracyShortPtr.hpp +++ b/server/TracyShortPtr.hpp @@ -71,6 +71,9 @@ public: tracy_force_inline T* operator->() { return m_ptr; } tracy_force_inline const T* operator->() const { return m_ptr; } + tracy_force_inline T* get() { return m_ptr; } + tracy_force_inline const T* get() const { return m_ptr; } + private: T* m_ptr; };