mirror of
https://github.com/wolfpld/tracy
synced 2025-04-29 12:23:53 +00:00
Use std::move(), not move().
This commit is contained in:
parent
73fe208b97
commit
1d482a417d
@ -519,7 +519,7 @@ static void DrawContents()
|
|||||||
HttpRequest( "nereid.pl", "/tracy/notes", 8099, [] ( int size, char* data ) {
|
HttpRequest( "nereid.pl", "/tracy/notes", 8099, [] ( int size, char* data ) {
|
||||||
std::string notes( data, data+size );
|
std::string notes( data, data+size );
|
||||||
delete[] data;
|
delete[] data;
|
||||||
RunOnMainThread( [notes = move( notes )] { releaseNotes = std::move( notes ); tracy::s_wasActive = true; } );
|
RunOnMainThread( [notes = std::move( notes )] { releaseNotes = std::move( notes ); tracy::s_wasActive = true; } );
|
||||||
} );
|
} );
|
||||||
} );
|
} );
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user