Skip to content

Commit

Permalink
move using json namespace inside the function
Browse files Browse the repository at this point in the history
  • Loading branch information
boulderdaze committed Jun 14, 2023
1 parent 9b0b9c0 commit 0685707
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions include/micm/configure/solver_config.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@
#include <nlohmann/json.hpp>
#include <variant>

using json = nlohmann::json;

namespace micm
{
template<class Object>
Expand Down Expand Up @@ -81,8 +79,9 @@ namespace micm
template<class ErrorPolicy>
class JsonReaderPolicy : public ErrorPolicy
{
using json = nlohmann::json;

public:
// Set to "public" for "NoThrowPolcy"
std::vector<Species> species_;
std::vector<Species> emissions_;
std::vector<Species> first_order_loss_;
Expand Down

0 comments on commit 0685707

Please sign in to comment.