Fix build error due to pns changes

This commit is contained in:
Marek Roszko 2021-06-03 18:05:48 -04:00
parent 4e94b1fe86
commit daf510344f
2 changed files with 2 additions and 2 deletions

View File

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

View File

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