]> git.stg.codes - stg.git/blobdiff - include/stg/user_property.h
Added ability to optionally transfer resetable value to a real var.
[stg.git] / include / stg / user_property.h
index 824c668e4ddc41794b78b61870bca7c02d9b3a2c..20ca6fd8052fe33336a3c66b89292a6da0462239 100644 (file)
@@ -81,6 +81,7 @@ public:
     virtual ~USER_PROPERTY_LOGGED() {}
 
     USER_PROPERTY_LOGGED<varT> * GetPointer() throw() { return this; }
+    const USER_PROPERTY_LOGGED<varT> * GetPointer() const throw() { return this; }
     const varT & Get() const { return USER_PROPERTY<varT>::ConstData(); }
     const std::string & GetName() const { return name; }
     bool Set(const varT & val,