Make TracySourceView.cpp build with somewhat old clang

This was the only issue preventing build on macOS High Sierra with whatever version of clang it has.
This commit is contained in:
Dmitry Ivanov 2020-05-11 16:23:50 +02:00 committed by GitHub
parent dafecf2a19
commit 8f509dd41a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1637,7 +1637,7 @@ uint64_t SourceView::RenderSymbolAsmView( uint32_t iptotal, unordered_flat_map<u
{ {
symName = worker.GetString( sym->name ); symName = worker.GetString( sym->name );
} }
fprintf( f, "; Tracy Profiler disassembly of symbol %s [%s]\n\n", symName, worker.GetCaptureProgram() ); fprintf( f, "; Tracy Profiler disassembly of symbol %s [%s]\n\n", symName, worker.GetCaptureProgram().c_str() );
if( !m_atnt ) fprintf( f, ".intel_syntax\n\n" ); if( !m_atnt ) fprintf( f, ".intel_syntax\n\n" );
for( auto& v : m_asm ) for( auto& v : m_asm )