From: Kevron Rees Date: Mon, 10 Sep 2012 17:03:10 +0000 (-0700) Subject: const value() X-Git-Tag: 0.3.0~29 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3250764fa654dd22fc4afd841e926118d9fce0f5;p=profile%2Fivi%2Fautomotive-message-broker.git const value() --- diff --git a/lib/abstractpropertytype.h b/lib/abstractpropertytype.h index f88c8c9..3ba0307 100644 --- a/lib/abstractpropertytype.h +++ b/lib/abstractpropertytype.h @@ -36,7 +36,7 @@ public: } template - T value() + T value() const { return boost::any_cast(mValue); } @@ -105,7 +105,7 @@ public: StringPropertyType & operator = (StringPropertyType const & other) { - //setValue(other.value()); + setValue(other.value()); return *this; }