Skip to content

Commit

Permalink
update nlohmann::json to 3.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
rexdf committed Dec 25, 2017
1 parent f48bd2d commit 7ec2cdc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions CommandTrayHost/utils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -375,9 +375,9 @@ bool json_object_has_member(const nlohmann::json& root, PCSTR query_string)
root.at(query_string);
}
#ifdef _DEBUG
catch (std::out_of_range& e)
catch (nlohmann::json::out_of_range& e)
#else
catch (std::out_of_range&)
catch (nlohmann::json::out_of_range&)
#endif
{
LOGMESSAGE(L"out_of_range %S\n", e.what());
Expand Down
4 changes: 2 additions & 2 deletions CommandTrayHost/utils.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ bool try_read_optional_json(const nlohmann::json& root, Type& out, PCSTR query_s
out = root.at(query_string);
}
#ifdef _DEBUG
catch (std::out_of_range& e)
catch (nlohmann::json::out_of_range& e)
#else
catch (std::out_of_range&)
catch (nlohmann::json::out_of_range&)
#endif
{
LOGMESSAGE(L"%S %S out_of_range %S\n", caller_fuc_name, query_string, e.what());
Expand Down

0 comments on commit 7ec2cdc

Please sign in to comment.