branch: upgrade_to_cpp14_consolidated commit b28f8f6fe45d7dd88b033af77e4b1025eec73441 Author: aa <a...@plaxis.com> Date: Thu Apr 4 16:01:21 2019 +0200
std::toupper now takes one argument --- src/getfem_import.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/getfem_import.cc b/src/getfem_import.cc index ef0fe73..d423f0d 100644 --- a/src/getfem_import.cc +++ b/src/getfem_import.cc @@ -788,8 +788,7 @@ namespace getfem { type_name = line.substr(pos, pos2-pos); bool only_digits = (type_name.find_first_not_of("0123456789") == std::string::npos); - const std::locale loc; - for (auto&& c : type_name) c = std::toupper(c, loc); + for (auto&& c : type_name) c = std::toupper(c); if (elt_types.size() < itype+1) elt_types.resize(itype+1);