From f6a8c542e8b2083df9a5815c1ba2c109cfebf05c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gustav=20S=C3=B6rn=C3=A4s?= Date: Tue, 1 Dec 2020 16:15:03 +0100 Subject: const & --- labb5/src/Boggle.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'labb5/src/Boggle.h') 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& words, point cur_point, string cur_word, set visited) const; - bool find_single_word_helper(const string& word, point cur_point, string cur_word, set visited) const; + void find_all_words_helper(set& words, const point& cur_point, const string& cur_word, set& visited) const; + bool find_single_word_helper(const string& word, const point& cur_point, const string& cur_word, set& visited) const; Lexicon dictionary; Grid board; -- cgit v1.2.1