mirror of
https://github.com/pantor/inja.git
synced 2026-04-03 14:48:51 +00:00
patch json throw in nlohmann/json
This commit is contained in:
4
third_party/include/nlohmann/json.hpp
vendored
4
third_party/include/nlohmann/json.hpp
vendored
@@ -16454,7 +16454,7 @@ template <class Key, class T, class IgnoredLess = std::less<Key>,
|
||||
}
|
||||
}
|
||||
|
||||
throw std::out_of_range("key not found");
|
||||
JSON_THROW(std::out_of_range("key not found"));
|
||||
}
|
||||
|
||||
const T& at(const Key& key) const
|
||||
@@ -16467,7 +16467,7 @@ template <class Key, class T, class IgnoredLess = std::less<Key>,
|
||||
}
|
||||
}
|
||||
|
||||
throw std::out_of_range("key not found");
|
||||
JSON_THROW(std::out_of_range("key not found"));
|
||||
}
|
||||
|
||||
size_type erase(const Key& key)
|
||||
|
||||
Reference in New Issue
Block a user