]> git.stg.codes - stg.git/blobdiff - include/user_property.h
Fix user deletion in XML-RPC API
[stg.git] / include / user_property.h
index 3075d8f9d0a771394944d854c0d5fd435699eaf6..78e5675a5f9adc453ae5ac13f8c8e06922630477 100644 (file)
@@ -62,7 +62,7 @@ template<typename varT>
 class USER_PROPERTY_LOGGED: public USER_PROPERTY<varT> {
 public:
     USER_PROPERTY_LOGGED(varT & val,
-                         const std::string n,
+                         const std::string n,
                          bool isPassword,
                          bool isStat,
                          STG_LOGGER & logger,
@@ -259,7 +259,7 @@ afterNotifiers.erase(n);
 template <typename varT>
 inline
 USER_PROPERTY_LOGGED<varT>::USER_PROPERTY_LOGGED(varT & val,
-                                                 std::string n,
+                                                 const std::string & n,
                                                  bool isPass,
                                                  bool isSt,
                                                  STG_LOGGER & logger,