Commit 96269c8a authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen
Browse files

VLCMetadataService: Remove "mutable" qualifier from the processing lambda

parent 3a50ae70
...@@ -66,7 +66,7 @@ void VLCMetadataService::run( std::shared_ptr<Media> file, void* data ) ...@@ -66,7 +66,7 @@ void VLCMetadataService::run( std::shared_ptr<Media> file, void* data )
std::unique_lock<std::mutex> lock( m_mutex ); std::unique_lock<std::mutex> lock( m_mutex );
std::atomic<Status> status( Status::Unknown ); std::atomic<Status> status( Status::Unknown );
ctx->media.eventManager().onParsedChanged([this, ctx, &status](bool parsed) mutable { ctx->media.eventManager().onParsedChanged([this, ctx, &status](bool parsed) {
if ( parsed == false ) if ( parsed == false )
return; return;
auto s = handleMediaMeta( ctx->file, ctx->media ); auto s = handleMediaMeta( ctx->file, ctx->media );
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment