1
0
mirror of https://github.com/wolfpld/tracy.git synced 2025-03-20 07:40:02 +08:00

Force inline file read and write functions.

This commit is contained in:
Bartosz Taudul
2017-11-19 22:02:04 +01:00
parent 59c7cf2bcd
commit 43ed934204
2 changed files with 7 additions and 5 deletions
+2 -1
View File
@@ -6,6 +6,7 @@
#include <string.h>
#include "../common/tracy_lz4.hpp"
#include "../common/TracyForceInline.hpp"
namespace tracy
{
@@ -29,7 +30,7 @@ public:
LZ4_freeStream( m_stream );
}
void Write( const void* ptr, size_t size )
tracy_force_inline void Write( const void* ptr, size_t size )
{
if( m_offset + size <= BufSize )
{