]> git.stg.codes - stg.git/blobdiff - include/stg/user_property.h
Correction method GetPropertyValue
[stg.git] / 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();
 }
 //-------------------------------------------------------------------------
 //-------------------------------------------------------------------------