Add Int48 clearing function.

This commit is contained in:
Bartosz Taudul 2021-06-15 02:04:32 +02:00
parent 0fdd5ab01b
commit db1dc311b0
No known key found for this signature in database
GPG Key ID: B7FE2008B7575DF3

View File

@ -133,6 +133,11 @@ public:
SetVal( val );
}
tracy_force_inline void Clear()
{
memset( m_val, 0, 6 );
}
tracy_force_inline void SetVal( int64_t val )
{
memcpy( m_val, &val, 4 );