1
0
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:
Bartosz Taudul 2022-09-29 20:57:08 +02:00
parent 73fe208b97
commit 1d482a417d
No known key found for this signature in database
GPG Key ID: B7FE2008B7575DF3

View File

@ -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; } );
} ); } );
} ); } );
} }