From f5807cc1a6ef2eb030467e43b3da4b2c7d7da103 Mon Sep 17 00:00:00 2001 From: APTX Date: Sun, 13 May 2012 19:27:34 +0200 Subject: [PATCH] AbtractReply's (and children's) command() should be public. --- abstractcommand.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/abstractcommand.h b/abstractcommand.h index 0a71104..69ae75b 100644 --- a/abstractcommand.h +++ b/abstractcommand.h @@ -39,10 +39,10 @@ friend class ClientInterface; \ friend class Client; \ public: \ typedef name##Command CommandType; \ +inline const CommandType &command() const { return m_command; } \ private: \ CommandType m_command; \ name##Reply(const CommandType command, const QByteArray &id, QObject *parent) : AbstractReply(id, parent), m_command(command) {constructor} \ -inline const CommandType &command() const { return m_command; } #define REPLY_DEFINITION_HELPER(name) \ REPLY_DEFINITION_HELPER_INTERNAL(name, m_commandPtr = &m_command;) -- 2.52.0