Удалены конструкторы и операторы присвоения по умолчанию
This commit is contained in:
parent
d7968819b7
commit
45fa0f4f73
@ -31,6 +31,11 @@ public:
|
|||||||
*/
|
*/
|
||||||
explicit Client( QObject* parent = nullptr );
|
explicit Client( QObject* parent = nullptr );
|
||||||
|
|
||||||
|
Client( const Client& ) = delete;
|
||||||
|
Client& operator=( const Client& ) = delete;
|
||||||
|
Client( Client&& ) = delete;
|
||||||
|
Client& operator=( Client&& ) = delete;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Destroys the client
|
* @brief Destroys the client
|
||||||
*/
|
*/
|
||||||
|
@ -18,6 +18,13 @@ class Lexer : public QObject
|
|||||||
public:
|
public:
|
||||||
|
|
||||||
explicit Lexer( QIODevice*, QObject* = nullptr );
|
explicit Lexer( QIODevice*, QObject* = nullptr );
|
||||||
|
|
||||||
|
Lexer( const Lexer& ) = delete;
|
||||||
|
Lexer& operator=( const Lexer& ) = delete;
|
||||||
|
Lexer( Lexer&& ) = delete;
|
||||||
|
Lexer& operator=( Lexer&& ) = delete;
|
||||||
|
|
||||||
|
|
||||||
~Lexer() override = default;
|
~Lexer() override = default;
|
||||||
|
|
||||||
Q_SIGNAL void character( char );
|
Q_SIGNAL void character( char );
|
||||||
|
@ -22,6 +22,12 @@ class Parser : public QObject
|
|||||||
|
|
||||||
public:
|
public:
|
||||||
explicit Parser( Lexer*, QObject* = nullptr );
|
explicit Parser( Lexer*, QObject* = nullptr );
|
||||||
|
|
||||||
|
Parser( const Parser& ) = delete;
|
||||||
|
Parser& operator=( const Parser& ) = delete;
|
||||||
|
Parser( Parser&& ) = delete;
|
||||||
|
Parser& operator=( Parser&& ) = delete;
|
||||||
|
|
||||||
~Parser() override = default;
|
~Parser() override = default;
|
||||||
|
|
||||||
Q_SIGNAL void reply( const myx::redis::Reply& );
|
Q_SIGNAL void reply( const myx::redis::Reply& );
|
||||||
|
@ -29,6 +29,11 @@ public:
|
|||||||
*/
|
*/
|
||||||
explicit Request( QObject* parent = nullptr );
|
explicit Request( QObject* parent = nullptr );
|
||||||
|
|
||||||
|
Request( const Request& ) = delete;
|
||||||
|
Request& operator=( const Request& ) = delete;
|
||||||
|
Request( Request&& ) = delete;
|
||||||
|
Request& operator=( Request&& ) = delete;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Destroys the request
|
* @brief Destroys the request
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user