mpdpp: make all consumers take values, not rvalue references

This commit is contained in:
Andrzej Rybczak
2013-05-17 14:02:31 +02:00
parent e5e6de8d31
commit 2f9ab8f267
16 changed files with 38 additions and 50 deletions

View File

@@ -99,7 +99,7 @@ void Outputs::mouseButtonPressed(MEVENT me)
void Outputs::FetchList()
{
w.clear();
Mpd.GetOutputs([this](MPD::Output &&output) {
Mpd.GetOutputs([this](MPD::Output output) {
w.addItem(output, output.isEnabled());
});
if (myScreen == this)