X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/c00e81f9f50c4fe50ee32b02a689d68c9bc595b6..91002d861d8e0729e84f9ef65a19001d515d7dbe:/projects/sgconf/utils.h?ds=sidebyside diff --git a/projects/sgconf/utils.h b/projects/sgconf/utils.h index 2e16b625..3793c9cd 100644 --- a/projects/sgconf/utils.h +++ b/projects/sgconf/utils.h @@ -25,7 +25,7 @@ res = value; template inline -void MaybeSet(const std::map & options, const std::string & name, RESETABLE & res, F conv) +void MaybeSet(const std::map & options, const std::string & name, T & res, F conv) { std::map::const_iterator it(options.find(name)); if (it == options.end())