Skip to content

Commit d24b18f

Browse files
fix: missing const
1 parent 83da056 commit d24b18f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

assignment4/spellcheck.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Corpus tokenize(std::string& source) {
1515
return Corpus();
1616
}
1717

18-
std::set<Misspelling> spellcheck(Corpus& source, const Dictionary& dictionary) {
18+
std::set<Misspelling> spellcheck(const Corpus& source, const Dictionary& dictionary) {
1919
/* TODO: Implement this method */
2020
return std::set<Misspelling>();
2121
};

0 commit comments

Comments
 (0)