From: Naffanya Date: Thu, 10 Oct 2013 19:28:22 +0000 (+0300) Subject: Correction method GetPropertyValue X-Git-Url: https://git.stg.codes/stg.git/commitdiff_plain/7c995c8f062b1e4faf919c7c1e8ef8090b3bf180 Correction method GetPropertyValue --- diff --git a/include/stg/user_property.h b/include/stg/user_property.h index f53b416d..a4547398 100644 --- a/include/stg/user_property.h +++ b/include/stg/user_property.h @@ -391,7 +391,7 @@ std::string USER_PROPERTIES::GetPropertyValue(const std::string & name) const std::map::iterator it = properties.find(name); if (it == properties.end()) return ""; -return it->second.ToString(); +return it->second->ToString(); } //------------------------------------------------------------------------- //-------------------------------------------------------------------------