From be192139780c2ebfe419497ee531b52e766fd7da Mon Sep 17 00:00:00 2001 From: Nathan Osman Date: Thu, 1 Aug 2013 18:48:40 -0700 Subject: [PATCH] Removed const qualifier from Reply::value(). --- include/qredis/reply.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/qredis/reply.h b/include/qredis/reply.h index 1fc3516..b9738be 100644 --- a/include/qredis/reply.h +++ b/include/qredis/reply.h @@ -66,7 +66,7 @@ namespace QRedis * @param type the type of the reply * @param value the value of the reply */ - Reply(Type type, QVariant & value) : _type(type), _value(value) {} + Reply(Type type) : _type(type) {} /** * @brief Returns the type of the reply @@ -78,7 +78,7 @@ namespace QRedis * @brief Returns the value of the reply * @return the reply value */ - const QVariant & value() const { return _value; } + QVariant & value() { return _value; } private: