diff --git a/libsrc/core/utils.hpp b/libsrc/core/utils.hpp index 87a619ed..ce40b2a7 100644 --- a/libsrc/core/utils.hpp +++ b/libsrc/core/utils.hpp @@ -87,7 +87,7 @@ namespace ngcore std::string res; res.reserve(s.size()); - for(auto & c : res) + for(auto & c : s) res.push_back(tolower(c)); return res;