🚨 remove warnings

This commit is contained in:
Niels Lohmann committed 2020-06-22 22:32:21 +02:00
1 parent 29ad2178c6
commit 8b3d2399a4
10 files changed
+250 -271

No files matched your search

+1 -1
View File
@@ -131,7 +131,7 @@ class lexer : public lexer_base<BasicJsonType>
JSON_HEDLEY_PURE
static char get_decimal_point() noexcept
{
const auto loc = localeconv();
const auto* loc = localeconv();
assert(loc != nullptr);
return (loc->decimal_point == nullptr) ? '.' : *(loc->decimal_point);
}