MemRead() uses const pointer.

This commit is contained in:
Bartosz Taudul 2018-07-11 01:33:27 +02:00
parent b1a71174db
commit ef73979fb9

View File

@ -9,7 +9,7 @@ namespace tracy
{
template<typename T>
tracy_force_inline T MemRead( void* ptr )
tracy_force_inline T MemRead( const void* ptr )
{
T val;
memcpy( &val, ptr, sizeof( T ) );