aboutsummaryrefslogtreecommitdiff
path: root/src/main/solver/solver.h
diff options
context:
space:
mode:
authorthecharlesblake2018-01-01 17:56:54 +0000
committerthecharlesblake2018-01-01 17:56:54 +0000
commit74d43eaf200d42a3060de0f7b458902d52274225 (patch)
tree029c1e95287838fc82b2e1464c89bf582db94fde /src/main/solver/solver.h
parentRemove Canfield from canonical solitaires (diff)
downloadmetasol-74d43eaf200d42a3060de0f7b458902d52274225.tar.gz
metasol-74d43eaf200d42a3060de0f7b458902d52274225.zip

Fix bug in solver - improper ref to vector element

Diffstat (limited to 'src/main/solver/solver.h')
-rw-r--r--src/main/solver/solver.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/solver/solver.h b/src/main/solver/solver.h
index 1ef841d..563a11e 100644
--- a/src/main/solver/solver.h
+++ b/src/main/solver/solver.h
@@ -20,7 +20,7 @@ public:
> global_cache;
struct node {
- explicit node(const game_state::move, std::vector<game_state::move>&&);
+ explicit node(game_state::move, std::vector<game_state::move>);
const game_state::move move;
std::vector<game_state::move> unsearched_children;
};