Убрана константность

This commit is contained in:
Andrei Astafev 2020-04-24 12:30:25 +03:00
parent 2bf177affe
commit 0b6132d692
3 changed files with 3 additions and 4 deletions

View File

@ -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 );
} }

View File

@ -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 );

View File

@ -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: