Commit fa803540 authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen

Parser: Fix metadata services ordering

parent 0af7d3e0
......@@ -27,7 +27,7 @@ void Parser::addService(std::unique_ptr<IMetadataService> service)
std::push_heap( m_services.begin(), m_services.end(), []( const ServicePtr& a, const ServicePtr& b )
{
// We want higher priority first
return a->priority() > b->priority();
return a->priority() < b->priority();
});
}
......
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