mirror of
https://github.com/nlohmann/json.git
synced 2026-10-09 16:07:14 +00:00
fix GCC 7.1.1 - 7.2.1 on CentOS
closes https://github.com/nlohmann/json/issues/670
This commit is contained in:
1 parent
21516f2bae
commit
7b31e56fbf
2 files changed
+2
-2
No files matched your search
@@ -15367,7 +15367,7 @@ class basic_json
|
||||
|
||||
#ifndef _MSC_VER // fix for issue #167 operator<< ambiguity under VS2015
|
||||
and not std::is_same<ValueType, std::initializer_list<typename string_t::value_type>>::value
|
||||
#if defined(JSON_HAS_CPP_17) && defined(_MSC_VER) and _MSC_VER <= 1914
|
||||
#if defined(JSON_HAS_CPP_17) && (defined(__GNUC__) || (defined(_MSC_VER) and _MSC_VER <= 1914))
|
||||
and not std::is_same<ValueType, typename std::string_view>::value
|
||||
#endif
|
||||
#endif
|
||||
|
||||
Reference in new issue
Block a user