aboutsummaryrefslogtreecommitdiff
path: root/src/main/game/global_cache.cpp
diff options
context:
space:
mode:
authorthecharlesblake2018-01-18 18:57:58 +0000
committerthecharlesblake2018-01-18 18:57:58 +0000
commit60b86edcba4cd61a0b14aa5e1138a1dd1d7d8718 (patch)
treea330b3155b61b34544efde72c7d84e30f2221c01 /src/main/game/global_cache.cpp
parentUpdate benchmark script to work when it reaches 13 (diff)
downloadmetasol-60b86edcba4cd61a0b14aa5e1138a1dd1d7d8718.tar.gz
metasol-60b86edcba4cd61a0b14aa5e1138a1dd1d7d8718.zip

Tidy up game_state private access

Diffstat (limited to 'src/main/game/global_cache.cpp')
-rw-r--r--src/main/game/global_cache.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/game/global_cache.cpp b/src/main/game/global_cache.cpp
index 83a9420..7be491e 100644
--- a/src/main/game/global_cache.cpp
+++ b/src/main/game/global_cache.cpp
@@ -86,7 +86,7 @@ size_t hash_value(game_state const& gs) {
return seed;
}
-bool global_cache::game_state_pred::comp_pile(const pile &x, const pile &y) {
+bool game_state_pred::comp_pile(const pile &x, const pile &y) {
// Largest piles first
if (x.size() != y.size()) {
return x.size() > y.size();
@@ -105,7 +105,7 @@ bool global_cache::game_state_pred::comp_pile(const pile &x, const pile &y) {
return false;
}
-bool global_cache::game_state_pred::operator()(const game_state& x,
+bool game_state_pred::operator()(const game_state& x,
const game_state& y) const {
if (x.piles.size() != y.piles.size()) return false;