mpdpp: make all consumers take values, not rvalue references
This commit is contained in:
@@ -1263,7 +1263,7 @@ void EditLibraryTag::run()
|
||||
assert(set);
|
||||
bool success = true;
|
||||
std::string dir_to_update;
|
||||
Mpd.CommitSearchSongs([set, &dir_to_update, &new_tag, &success](MPD::Song &&s) {
|
||||
Mpd.CommitSearchSongs([set, &dir_to_update, &new_tag, &success](MPD::Song s) {
|
||||
if (!success)
|
||||
return;
|
||||
MPD::MutableSong ms = s;
|
||||
|
||||
Reference in New Issue
Block a user