X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/53407602cc91f2442d0f28575aa366f9c7159ae3..30eb6cd56d43fe69026617228478c7c373739a09:/include/stg/user_property.h diff --git a/include/stg/user_property.h b/include/stg/user_property.h index 6eb17666..aee32e3e 100644 --- a/include/stg/user_property.h +++ b/include/stg/user_property.h @@ -12,6 +12,7 @@ $Author: faust $ #include #include #include +#include #include #include @@ -26,7 +27,6 @@ $Author: faust $ extern volatile time_t stgTime; //----------------------------------------------------------------------------- -//template class USER_PROPERTY_BASE { public: virtual std::string ToString() const = 0; @@ -124,7 +124,7 @@ private: USER_STAT stat; USER_CONF conf; - std::map properties; + std::map properties; public: USER_PROPERTIES(const std::string & sd); @@ -409,7 +409,7 @@ template inline std::string USER_PROPERTY::ToString() const { -std::stringstream stream; +std::ostringstream stream; stream << value; return stream.str(); }