Убрана константность
This commit is contained in:
parent
2bf177affe
commit
0b6132d692
@ -136,7 +136,7 @@ class ClientPrivate : public QObject
|
|||||||
Lexer m_lexer;
|
Lexer m_lexer;
|
||||||
Parser m_parser;
|
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 );
|
Q_EMIT m_queue.dequeue()->reply( reply );
|
||||||
}
|
}
|
||||||
|
@ -5,7 +5,6 @@
|
|||||||
|
|
||||||
#include <myx/base/config.hpp>
|
#include <myx/base/config.hpp>
|
||||||
#include <myx/redis/lexer.hpp>
|
#include <myx/redis/lexer.hpp>
|
||||||
// #include <myx/redis/parser_p.hpp>
|
|
||||||
#include <myx/redis/reply.hpp>
|
#include <myx/redis/reply.hpp>
|
||||||
|
|
||||||
#include <QList>
|
#include <QList>
|
||||||
@ -30,7 +29,7 @@ public:
|
|||||||
|
|
||||||
~Parser() override = default;
|
~Parser() override = default;
|
||||||
|
|
||||||
Q_SIGNAL void reply( const myx::redis::Reply& );
|
Q_SIGNAL void reply( myx::redis::Reply& );
|
||||||
|
|
||||||
private:
|
private:
|
||||||
Q_SLOT void readCharacter( char );
|
Q_SLOT void readCharacter( char );
|
||||||
|
@ -62,7 +62,7 @@ public:
|
|||||||
* @brief Emitted when a reply is received
|
* @brief Emitted when a reply is received
|
||||||
* @param reply the reply received
|
* @param reply the reply received
|
||||||
*/
|
*/
|
||||||
Q_SIGNAL void reply( const myx::redis::Reply& reply );
|
Q_SIGNAL void reply( myx::redis::Reply& reply );
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user