1
0
mirror of https://github.com/nlohmann/json.git synced 2025-07-28 12:02:00 +03:00

fix some warnings

This commit is contained in:
Théo DELRIEU
2017-01-22 14:07:28 +01:00
parent 9c6ef74a28
commit 9f8b270ed9
3 changed files with 4 additions and 6 deletions

View File

@ -372,7 +372,7 @@ contains a `mapped_type`, whereas `std::vector` fails the test.
public: \
static constexpr bool value = \
std::is_integral<decltype(detect(std::declval<T>()))>::value; \
};
}
NLOHMANN_JSON_HAS_HELPER(mapped_type);
NLOHMANN_JSON_HAS_HELPER(key_type);