summaryrefslogtreecommitdiff
path: root/src/mpdpp.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mpdpp.h')
-rw-r--r--src/mpdpp.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mpdpp.h b/src/mpdpp.h
index 42beaf02..68a71447 100644
--- a/src/mpdpp.h
+++ b/src/mpdpp.h
@@ -148,10 +148,10 @@ class Connection
{
typedef void (*ErrorHandler) (Connection *, int, const char *, void *);
- typedef std::function<void(Item &&)> ItemConsumer;
- typedef std::function<void(Output &&)> OutputConsumer;
- typedef std::function<void(Song &&)> SongConsumer;
- typedef std::function<void(std::string &&)> StringConsumer;
+ typedef std::function<void(Item)> ItemConsumer;
+ typedef std::function<void(Output)> OutputConsumer;
+ typedef std::function<void(Song)> SongConsumer;
+ typedef std::function<void(std::string)> StringConsumer;
public:
Connection();