mirror of
https://github.com/nlohmann/json.git
synced 2024-11-27 16:49:02 +08:00
🚨 fix warning
This commit is contained in:
parent
897362191d
commit
025f4cea42
2
Makefile
2
Makefile
@ -621,5 +621,5 @@ update_hedley:
|
||||
rm -f include/nlohmann/thirdparty/hedley/hedley.hpp include/nlohmann/thirdparty/hedley/hedley_undef.hpp
|
||||
curl https://raw.githubusercontent.com/nemequ/hedley/master/hedley.h -o include/nlohmann/thirdparty/hedley/hedley.hpp
|
||||
gsed -i 's/HEDLEY_/NLOHMANN_JSON_HEDLEY_/g' include/nlohmann/thirdparty/hedley/hedley.hpp
|
||||
grep "[[:blank:]]*#[[:blank:]]*undef" include/nlohmann/thirdparty/hedley/hedley.hpp | sort | uniq | gsed 's/ //g' | gsed 's/undef/undef /g' > include/nlohmann/thirdparty/hedley/hedley_undef.hpp
|
||||
grep "[[:blank:]]*#[[:blank:]]*undef" include/nlohmann/thirdparty/hedley/hedley.hpp | grep -v "__" | sort | uniq | gsed 's/ //g' | gsed 's/undef/undef /g' > include/nlohmann/thirdparty/hedley/hedley_undef.hpp
|
||||
$(MAKE) amalgamate
|
||||
|
@ -119,4 +119,3 @@
|
||||
#undef NLOHMANN_JSON_HEDLEY_VERSION_ENCODE
|
||||
#undef NLOHMANN_JSON_HEDLEY_WARNING
|
||||
#undef NLOHMANN_JSON_HEDLEY_WARN_UNUSED_RESULT
|
||||
#undef NLOHMANN_JSON_HEDLEY__IS_CONSTEXPR
|
||||
|
@ -22564,7 +22564,6 @@ inline nlohmann::json::json_pointer operator "" _json_pointer(const char* s, std
|
||||
#undef NLOHMANN_JSON_HEDLEY_VERSION_ENCODE
|
||||
#undef NLOHMANN_JSON_HEDLEY_WARNING
|
||||
#undef NLOHMANN_JSON_HEDLEY_WARN_UNUSED_RESULT
|
||||
#undef NLOHMANN_JSON_HEDLEY__IS_CONSTEXPR
|
||||
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user