]> git.stg.codes - stg.git/blobdiff - projects/sgconf/utils.h
Merge branch 'stg-2.409-radius'
[stg.git] / projects / sgconf / utils.h
index 2e16b625ab91927942e21070614fe4aa088811d6..3793c9cd4f2415dd215cc26fce2dd3b4cf01efcf 100644 (file)
@@ -25,7 +25,7 @@ res = value;
 
 template <typename T, typename F>
 inline
-void MaybeSet(const std::map<std::string, std::string> & options, const std::string & name, RESETABLE<T> & res, F conv)
+void MaybeSet(const std::map<std::string, std::string> & options, const std::string & name, T & res, F conv)
 {
 std::map<std::string, std::string>::const_iterator it(options.find(name));
 if (it == options.end())