diff options
Diffstat (limited to 'labb5/src/Boggle.h')
| -rwxr-xr-x | labb5/src/Boggle.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/labb5/src/Boggle.h b/labb5/src/Boggle.h index 8f68e92..95dd0b7 100755 --- a/labb5/src/Boggle.h +++ b/labb5/src/Boggle.h @@ -106,8 +106,8 @@ private: const int MIN_WORD_LENGTH = 4; static const int BOARD_SIZE = 4; - void find_all_words_helper(set<string>& words, point cur_point, string cur_word, set<point> visited) const; - bool find_single_word_helper(const string& word, point cur_point, string cur_word, set<point> visited) const; + void find_all_words_helper(set<string>& words, const point& cur_point, const string& cur_word, set<point>& visited) const; + bool find_single_word_helper(const string& word, const point& cur_point, const string& cur_word, set<point>& visited) const; Lexicon dictionary; Grid<char> board; |
