summaryrefslogtreecommitdiffstats
path: root/labb5/src/boggleplay.cpp
diff options
context:
space:
mode:
authorGustav Sörnäs <gustav@sornas.net>2020-12-01 14:23:43 +0100
committerGustav Sörnäs <gustav@sornas.net>2020-12-01 14:23:43 +0100
commit095ce707119f9d6473f1dfc790e507230194af83 (patch)
tree93e8d4cc5d24a32b7f9dc61f53e347fc2b4a753b /labb5/src/boggleplay.cpp
parent618e5cd0dbe3d1f5c2d28586fcbe43c7bc1b79ed (diff)
downloadtddd86-095ce707119f9d6473f1dfc790e507230194af83.tar.gz
-> board_from_string
Diffstat (limited to 'labb5/src/boggleplay.cpp')
-rwxr-xr-xlabb5/src/boggleplay.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/labb5/src/boggleplay.cpp b/labb5/src/boggleplay.cpp
index f41c156..8219928 100755
--- a/labb5/src/boggleplay.cpp
+++ b/labb5/src/boggleplay.cpp
@@ -19,7 +19,7 @@ void setup_board(Boggle& boggle) {
cout << "Input your board (16 characters): ";
getline(cin, input_board);
if (input_board.length() == 16) {
- if (boggle.letters_from_string(input_board)) {
+ if (boggle.board_from_string(input_board)) {
break;
} else {
cout << "Please input a valid string" << endl;