const value()
authorKevron Rees <kevron_m_rees@linux.intel.com>
Mon, 10 Sep 2012 17:03:10 +0000 (10:03 -0700)
committerKevron Rees <kevron_m_rees@linux.intel.com>
Mon, 10 Sep 2012 17:03:10 +0000 (10:03 -0700)
lib/abstractpropertytype.h

index f88c8c9..3ba0307 100644 (file)
@@ -36,7 +36,7 @@ public:
        }
 
        template <typename T>
-       T value()
+       T value() const
        {
                return boost::any_cast<T>(mValue);
        }
@@ -105,7 +105,7 @@ public:
 
        StringPropertyType & operator = (StringPropertyType const & other)
        {
-               //setValue(other.value<std::string>());
+               setValue(other.value<std::string>());
                return *this;
        }