From 3250764fa654dd22fc4afd841e926118d9fce0f5 Mon Sep 17 00:00:00 2001 From: Kevron Rees Date: Mon, 10 Sep 2012 10:03:10 -0700 Subject: [PATCH] const value() --- lib/abstractpropertytype.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; } -- 2.7.4