From 215496d51c6663dd12c4ffb51521f00a8bf9fcbe Mon Sep 17 00:00:00 2001 From: thecharlesblake Date: Sat, 28 Oct 2017 16:07:13 +0100 Subject: Add build order to game rules class --- src/main/solver.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/main/solver.cpp') diff --git a/src/main/solver.cpp b/src/main/solver.cpp index 396a9dc..ac8ffb8 100644 --- a/src/main/solver.cpp +++ b/src/main/solver.cpp @@ -12,8 +12,8 @@ #include using namespace std; -solver::solver(const game_state gs) : root(gs), solution(gs), - solution_found(false) {} +solver::solver(const game_state gs, const sol_rules& sr) + : root(gs), rules(sr), solution(gs), solution_found(false) {} solver::node::node(const game_state gs) : state(gs) {} -- cgit v1.2.1