Fix compile issues on clangd.

This commit is contained in:
Jeff Young 2021-06-03 23:12:26 +01:00
parent 1c1ba25ffd
commit 00791e1e37
2 changed files with 4 additions and 2 deletions

View File

@ -53,7 +53,8 @@ void LOGGER::Save( const std::string& aFilename )
{
uint64_t id = 0;
fprintf( f, "event %d %d %d %s\n", evt.type, evt.p.x, evt.p.y, evt.uuid.char_str() );
fprintf( f, "event %d %d %d %s\n", evt.type, evt.p.x, evt.p.y,
(const char*) evt.uuid.c_str() );
}
fclose( f );

View File

@ -531,7 +531,8 @@ void ROUTER_TOOL::saveRouterDebugLog()
for( auto evt : events)
{
fprintf( f, "event %d %d %d %s\n", evt.p.x, evt.p.y, evt.type, evt.uuid.char_str() );
fprintf( f, "event %d %d %d %s\n", evt.p.x, evt.p.y, evt.type,
(const char*) evt.uuid.c_str() );
}
fclose( f );