X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/dda964a76b486001f0debf38deb594ad7c13f416..56dfcde5734ec014f33973d3be50405b583dfa31:/include/stg/user_property.h

diff --git a/include/stg/user_property.h b/include/stg/user_property.h
index 824c668e..20ca6fd8 100644
--- a/include/stg/user_property.h
+++ b/include/stg/user_property.h
@@ -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,