Removed const qualifier from Reply::value().

This commit is contained in:
Nathan Osman 2013-08-01 18:48:40 -07:00
parent 744781a03d
commit be19213978
1 changed files with 2 additions and 2 deletions

View File

@ -66,7 +66,7 @@ namespace QRedis
* @param type the type of the reply * @param type the type of the reply
* @param value the value 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 * @brief Returns the type of the reply
@ -78,7 +78,7 @@ namespace QRedis
* @brief Returns the value of the reply * @brief Returns the value of the reply
* @return the reply value * @return the reply value
*/ */
const QVariant & value() const { return _value; } QVariant & value() { return _value; }
private: private: