diff --git a/src/myx/redis/client.hpp b/src/myx/redis/client.hpp index cf93d86..daeb845 100644 --- a/src/myx/redis/client.hpp +++ b/src/myx/redis/client.hpp @@ -136,7 +136,7 @@ class ClientPrivate : public QObject Lexer m_lexer; Parser m_parser; - Q_SLOT void sendReply( const myx::redis::Reply& reply ) + Q_SLOT void sendReply( myx::redis::Reply& reply ) { Q_EMIT m_queue.dequeue()->reply( reply ); } diff --git a/src/myx/redis/parser.hpp b/src/myx/redis/parser.hpp index 28f8720..47133cd 100644 --- a/src/myx/redis/parser.hpp +++ b/src/myx/redis/parser.hpp @@ -5,7 +5,6 @@ #include #include -// #include #include #include @@ -30,7 +29,7 @@ public: ~Parser() override = default; - Q_SIGNAL void reply( const myx::redis::Reply& ); + Q_SIGNAL void reply( myx::redis::Reply& ); private: Q_SLOT void readCharacter( char ); diff --git a/src/myx/redis/request.hpp b/src/myx/redis/request.hpp index ad1dd1b..6e01878 100644 --- a/src/myx/redis/request.hpp +++ b/src/myx/redis/request.hpp @@ -62,7 +62,7 @@ public: * @brief Emitted when a reply is received * @param reply the reply received */ - Q_SIGNAL void reply( const myx::redis::Reply& reply ); + Q_SIGNAL void reply( myx::redis::Reply& reply ); private: