diff options
-rw-r--r-- | .github/workflows/ci-linux.yml | 2 | ||||
-rw-r--r-- | src/hashcomp.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/.github/workflows/ci-linux.yml b/.github/workflows/ci-linux.yml index 00c99561e..62e0cbb4e 100644 --- a/.github/workflows/ci-linux.yml +++ b/.github/workflows/ci-linux.yml @@ -48,4 +48,4 @@ jobs: - g++ standard: - c++98 - - c++14 + - c++17 diff --git a/src/hashcomp.cpp b/src/hashcomp.cpp index d88a23142..7eac1205a 100644 --- a/src/hashcomp.cpp +++ b/src/hashcomp.cpp @@ -63,7 +63,7 @@ int ci::ci_char_traits::compare(const char *str1, const char *str2, size_t n) { for (unsigned i = 0; i < n; ++i) { - register unsigned char c1 = case_map_upper[static_cast<unsigned char>(*str1)], + unsigned char c1 = case_map_upper[static_cast<unsigned char>(*str1)], c2 = case_map_upper[static_cast<unsigned char>(*str2)]; if (c1 > c2) |