mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-10 10:41:50 +00:00
MemRead() uses const pointer.
This commit is contained in:
parent
b1a71174db
commit
ef73979fb9
@ -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 ) );
|
||||
|
Loading…
Reference in New Issue
Block a user