From fa40f6facc5c500cae8bf890e66a7bf5d490387e Mon Sep 17 00:00:00 2001 From: thecharlesblake Date: Wed, 3 Jan 2018 12:39:06 +0000 Subject: Rename util to json_helper --- src/main/main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/main/main.cpp') 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 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); -- cgit v1.2.1