diff options
Diffstat (limited to 'dictionary.cpp')
-rw-r--r-- | dictionary.cpp | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/dictionary.cpp b/dictionary.cpp index e1153cc..c240cca 100644 --- a/dictionary.cpp +++ b/dictionary.cpp @@ -47,21 +47,6 @@ void Dictionary::addDefinition(Word word) writebyte(allot(1), readbyte(word.start + i)); } -bool Dictionary::issame(Addr addr, std::string_view str, std::size_t n) -{ - if (str.size() != n) - return false; - - for (char c : str) { - if (read(addr) != c) - return false; - - addr += sizeof(Cell); - } - - return true; -} - Addr Dictionary::find(Word word) { if (latest == 0) |