]> git.stg.codes - stg.git/commitdiff
Correction method GetPropertyValue
authorNaffanya <naffanya@naffanya.(none)>
Thu, 10 Oct 2013 19:28:22 +0000 (22:28 +0300)
committerNaffanya <naffanya@naffanya.(none)>
Thu, 10 Oct 2013 19:28:22 +0000 (22:28 +0300)
include/stg/user_property.h

index f53b416d31845d1164e099fca4c8355e641f14d7..a4547398d7782dd5cdf41cd4105ea0005bc12c56 100644 (file)
@@ -391,7 +391,7 @@ std::string USER_PROPERTIES::GetPropertyValue(const std::string & name) const
 std::map<std::string, USER_PROPERTY_BASE*>::iterator it = properties.find(name);
 if (it == properties.end())
     return "";
-return it->second.ToString();
+return it->second->ToString();
 }
 //-------------------------------------------------------------------------
 //-------------------------------------------------------------------------