]> git.stg.codes - stg.git/blobdiff - include/stg/user_property.h
Merge branch 'stg-2.409' into stg-2.409-radius
[stg.git] / include / stg / user_property.h
index f024f4575269d2c13f7728f8d5531a442e46e088..4a26b21144dc5e2c908c70ba0eacbfaea3384be4 100644 (file)
@@ -39,7 +39,7 @@ typedef std::map<std::string, USER_PROPERTY_BASE *> REGISTRY;
 template<typename varT>
 class USER_PROPERTY : public USER_PROPERTY_BASE {
 public:
-    USER_PROPERTY(varT & val);
+    explicit USER_PROPERTY(varT & val);
     virtual ~USER_PROPERTY();
 
     void Set(const varT & rvalue);
@@ -131,7 +131,7 @@ private:
 
     REGISTRY properties;
 public:
-    USER_PROPERTIES(const SETTINGS& s);
+    explicit USER_PROPERTIES(const SETTINGS& s);
 
     USER_STAT & Stat() { return stat; }
     USER_CONF & Conf() { return conf; }