aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorthecharlesblake2018-02-02 13:02:23 +0000
committerthecharlesblake2018-02-02 13:02:23 +0000
commit009b1baee478243a9158d4fbd6110ba19d5a0a4d (patch)
tree76a8623e1c8f792695664857acc24ebd3f24859f /src
parentUpdate benchmark script to work with new flag (diff)
downloadmetasol-009b1baee478243a9158d4fbd6110ba19d5a0a4d.tar.gz
metasol-009b1baee478243a9158d4fbd6110ba19d5a0a4d.zip

Remove unnecessary get_data() from game_state

Diffstat (limited to 'src')
-rw-r--r--src/main/game/game_state.cpp4
-rw-r--r--src/main/game/game_state.h1
2 files changed, 0 insertions, 5 deletions
diff --git a/src/main/game/game_state.cpp b/src/main/game/game_state.cpp
index ad2ac3f..097c744 100644
--- a/src/main/game/game_state.cpp
+++ b/src/main/game/game_state.cpp
@@ -404,10 +404,6 @@ bool game_state::is_solved() const {
return solved;
}
-const vector<pile>& game_state::get_data() const {
- return piles;
-}
-
///////////
// PRINT //
diff --git a/src/main/game/game_state.h b/src/main/game/game_state.h
index 27cb2c0..9b0d7b5 100644
--- a/src/main/game/game_state.h
+++ b/src/main/game/game_state.h
@@ -49,7 +49,6 @@ public:
// Inspects state
bool is_solved() const;
- const std::vector<pile>& get_data() const;
friend std::ostream& operator<< (std::ostream&, const game_state&);