Убрана константность
This commit is contained in:
parent
2bf177affe
commit
0b6132d692
@ -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 );
|
||||
}
|
||||
|
@ -5,7 +5,6 @@
|
||||
|
||||
#include <myx/base/config.hpp>
|
||||
#include <myx/redis/lexer.hpp>
|
||||
// #include <myx/redis/parser_p.hpp>
|
||||
#include <myx/redis/reply.hpp>
|
||||
|
||||
#include <QList>
|
||||
@ -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 );
|
||||
|
@ -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:
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user