From 127ed41a47d524bb7cad3c23de5cd7c70daf3051 Mon Sep 17 00:00:00 2001
From: Maxim Mamontov <faust.madf@gmail.com>
Date: Sat, 21 Jun 2014 01:10:48 +0300
Subject: [PATCH] Added const version of GetPointer.

---
 include/stg/user_property.h | 1 +
 1 file changed, 1 insertion(+)

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,
-- 
2.44.2