mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-10 02:31:48 +00:00
Cosmetics.
This commit is contained in:
parent
b597ab5a0a
commit
d76e3a364a
@ -40,7 +40,7 @@ UserData::UserData( const char* program, uint64_t time )
|
||||
fseek( f, 0, SEEK_END );
|
||||
const auto sz = ftell( f );
|
||||
fseek( f, 0, SEEK_SET );
|
||||
auto buf = std::unique_ptr<char[]>(new char[sz]);
|
||||
auto buf = std::unique_ptr<char[]>( new char[sz] );
|
||||
fread( buf.get(), 1, sz, f );
|
||||
fclose( f );
|
||||
m_description.assign( buf.get(), buf.get() + sz );
|
||||
|
Loading…
Reference in New Issue
Block a user