Fix dbus for GCC 5

This commit is contained in:
jackun 2020-11-09 20:11:16 +02:00
parent 46a239855b
commit 7471d42cac
No known key found for this signature in database
GPG Key ID: 119DB3F1D05A9ED3

View File

@ -204,7 +204,7 @@ bool dbus_manager::select_active_player() {
if (m_active_player.empty()) {
auto it = std::find_if(m_name_owners.begin(), m_name_owners.end(), [this, &meta](auto& entry){
auto& name = entry.first;
get_media_player_metadata(meta, name);
this->get_media_player_metadata(meta, name);
if(meta.playing) {
return true;
}