aboutsummaryrefslogtreecommitdiff
path: root/src/main/solver/solver.h
diff options
context:
space:
mode:
authorthecharlesblake2018-02-23 12:53:56 +0000
committerthecharlesblake2018-02-23 12:53:56 +0000
commitfc8d0664e2e1263c6b1de1244190aa4dd66682cd (patch)
treed4ec6f58ebbd845e5e4e66527d3aea2bbc66374e /src/main/solver/solver.h
parentUpdate prof instuctions with line number hint (diff)
downloadmetasol-fc8d0664e2e1263c6b1de1244190aa4dd66682cd.tar.gz
metasol-fc8d0664e2e1263c6b1de1244190aa4dd66682cd.zip

Change next moves from list to vector

Diffstat (limited to 'src/main/solver/solver.h')
-rw-r--r--src/main/solver/solver.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/main/solver/solver.h b/src/main/solver/solver.h
index 9488dda..518ba2b 100644
--- a/src/main/solver/solver.h
+++ b/src/main/solver/solver.h
@@ -6,7 +6,6 @@
#define SOLVITAIRE_SOLVER_H
#include <string>
-#include <list>
#include <vector>
#include "../game/global_cache.h"
@@ -20,7 +19,7 @@ public:
node(node*, game_state::move);
node* parent;
const game_state::move move;
- std::list<node> children;
+ std::vector<node> children;
};
explicit solver(const game_state&);