mirror of
https://github.com/Almamu/linux-wallpaperengine.git
synced 2025-09-14 13:56:48 +08:00
~ changed missed nlohmann::json::iter_imp<nlohman::json> to nlohmann::json::iterator from PR #12
Signed-off-by: Alexis Maiquez <almamu@almamu.com>
This commit is contained in:
parent
b4320242cc
commit
838c9499e7
@ -60,7 +60,7 @@ irr::video::SColor Core::atoSColor (const std::string& str)
|
|||||||
return Core::atoSColor (str.c_str ());
|
return Core::atoSColor (str.c_str ());
|
||||||
}
|
}
|
||||||
|
|
||||||
nlohmann::detail::iter_impl<nlohmann::json> Core::jsonFindRequired (nlohmann::json& data, const char *key, const char *notFoundMsg)
|
nlohmann::json::iterator Core::jsonFindRequired (nlohmann::json& data, const char *key, const char *notFoundMsg)
|
||||||
{
|
{
|
||||||
auto value = data.find (key);
|
auto value = data.find (key);
|
||||||
if (value == data.end ())
|
if (value == data.end ())
|
||||||
|
Loading…
Reference in New Issue
Block a user