diff --git a/profiler/src/main.cpp b/profiler/src/main.cpp index 399c9154..73be2d22 100644 --- a/profiler/src/main.cpp +++ b/profiler/src/main.cpp @@ -584,7 +584,7 @@ static void DrawContents() HttpRequest( "nereid.pl", "/tracy/notes", 8099, [] ( int size, char* data ) { std::string notes( data, data+size ); delete[] data; - RunOnMainThread( [notes = std::move( notes )] { releaseNotes = std::move( notes ); tracy::s_wasActive = true; } ); + RunOnMainThread( [notes = std::move( notes )] () mutable { releaseNotes = std::move( notes ); tracy::s_wasActive = true; } ); } ); } ); } diff --git a/server/TracyWorker.cpp b/server/TracyWorker.cpp index 6b670753..eeb44d1a 100644 --- a/server/TracyWorker.cpp +++ b/server/TracyWorker.cpp @@ -6529,7 +6529,7 @@ void Worker::ProcessSymbolInformation( const QueueSymbolInformation& ev ) sd.callLine = it->second.line; sd.isInline = it->second.isInline; sd.size.SetVal( it->second.size ); - m_data.symbolMap.emplace( ev.symAddr, std::move( sd ) ); + m_data.symbolMap.emplace( ev.symAddr, sd ); if( m_codeTransfer && it->second.size > 0 && it->second.size <= 128*1024 ) {