]> git.stg.codes - stg.git/blobdiff - include/stg/user_property.h
Correcting error data transfer in method GetParamValue
[stg.git] / include / stg / user_property.h
index a4547398d7782dd5cdf41cd4105ea0005bc12c56..474eba6a08305d4128d0ae42896b018e265f7a39 100644 (file)
@@ -26,6 +26,7 @@ $Author: faust $
 
 extern volatile time_t stgTime;
 //-----------------------------------------------------------------------------
+//template<typename varT>
 class USER_PROPERTY_BASE {
 public:
     virtual std::string ToString() const = 0;
@@ -123,7 +124,7 @@ private:
     USER_STAT stat;
     USER_CONF conf;
 
-    std::map<std::string, USER_PROPERTY_BASE *> & properties;
+    std::map<std::string, USER_PROPERTY_BASE*> & properties;
 public:
     USER_PROPERTIES(const std::string & sd);
 
@@ -386,6 +387,7 @@ else
 //-------------------------------------------------------------------------
 //-------------------------------------------------------------------------
 //-------------------------------------------------------------------------
+inline
 std::string USER_PROPERTIES::GetPropertyValue(const std::string & name) const
 {
 std::map<std::string, USER_PROPERTY_BASE*>::iterator it = properties.find(name);