[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Getfem-commits] (no subject)
From: |
Andriy Andreykiv |
Subject: |
[Getfem-commits] (no subject) |
Date: |
Mon, 18 Feb 2019 10:16:11 -0500 (EST) |
branch: upgrading_getfem_to_cpp14
commit 9b04251b1ab2bdd30ab7f02ad0ef1a234e3a16bf
Author: aa <address@hidden>
Date: Mon Feb 18 15:40:11 2019 +0100
std::toupper doesn't need locale anymore
---
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);
- [Getfem-commits] [getfem-commits] branch upgrading_getfem_to_cpp14 created (now 776b81d), Andriy Andreykiv, 2019/02/18
- [Getfem-commits] (no subject), Andriy Andreykiv, 2019/02/18
- [Getfem-commits] (no subject), Andriy Andreykiv, 2019/02/18
- [Getfem-commits] (no subject),
Andriy Andreykiv <=
- [Getfem-commits] (no subject), Andriy Andreykiv, 2019/02/18
- [Getfem-commits] (no subject), Andriy Andreykiv, 2019/02/18
- [Getfem-commits] (no subject), Andriy Andreykiv, 2019/02/18
- [Getfem-commits] (no subject), Andriy Andreykiv, 2019/02/18
- [Getfem-commits] (no subject), Andriy Andreykiv, 2019/02/18
- [Getfem-commits] (no subject), Andriy Andreykiv, 2019/02/18