diff options
| author | thecharlesblake | 2018-01-03 12:39:06 +0000 |
|---|---|---|
| committer | thecharlesblake | 2018-01-03 12:39:06 +0000 |
| commit | fa40f6facc5c500cae8bf890e66a7bf5d490387e (patch) | |
| tree | 9b3202e433e5151a38f78084ee843b20edec4f89 /src/main/main.cpp | |
| parent | Major refactor, putting pile logic into game_state (diff) | |
| download | metasol-fa40f6facc5c500cae8bf890e66a7bf5d490387e.tar.gz metasol-fa40f6facc5c500cae8bf890e66a7bf5d490387e.zip | |
Rename util to json_helper
Diffstat (limited to 'src/main/main.cpp')
| -rw-r--r-- | src/main/main.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/main.cpp b/src/main/main.cpp index e07e566..342cdd0 100644 --- a/src/main/main.cpp +++ b/src/main/main.cpp @@ -5,7 +5,7 @@ #include "input-output/command_line_helper.h" #include "solver/solver.h" #include "input-output/log_helper.h" -#include "util/util.h" +#include "input-output/json_helper.h" using namespace rapidjson; @@ -72,7 +72,7 @@ void solve_input_files(const vector<string> input_files, const sol_rules& rules) for (const string& input_file : input_files) { try { // Reads in the input file to a json doc - const Document in_doc = util::get_file_json(input_file); + const Document in_doc = json_helper::get_file_json(input_file); // Attempts to create a game state object from the json game_state gs(rules, in_doc); |
