From ef73979fb9d5be7de3541eef728e5447612b02f2 Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Wed, 11 Jul 2018 01:33:27 +0200 Subject: [PATCH] MemRead() uses const pointer. --- common/TracyAlign.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/TracyAlign.hpp b/common/TracyAlign.hpp index 2ab631e1..c3531ba0 100644 --- a/common/TracyAlign.hpp +++ b/common/TracyAlign.hpp @@ -9,7 +9,7 @@ namespace tracy { template -tracy_force_inline T MemRead( void* ptr ) +tracy_force_inline T MemRead( const void* ptr ) { T val; memcpy( &val, ptr, sizeof( T ) );