1
0
mirror of https://github.com/nlohmann/json.git synced 2026-07-21 19:23:03 +04:00

🚩 use JSON_ASSERT(x) instead of assert(x)

This commit is contained in:
Niels Lohmann
2020-07-06 12:22:31 +02:00
parent b04dc055b2
commit 98b1c6d302
16 changed files with 275 additions and 277 deletions
@@ -74,7 +74,7 @@ template <typename IteratorType> class iteration_proxy_value
/// return key of the iterator
const string_type& key() const
{
assert(anchor.m_object != nullptr);
JSON_ASSERT(anchor.m_object != nullptr);
switch (anchor.m_object->type())
{