aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/true_talk/tt_word.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/titanic/true_talk/tt_word.cpp')
-rw-r--r--engines/titanic/true_talk/tt_word.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/titanic/true_talk/tt_word.cpp b/engines/titanic/true_talk/tt_word.cpp
index c2ce2c1ef4..e799507d22 100644
--- a/engines/titanic/true_talk/tt_word.cpp
+++ b/engines/titanic/true_talk/tt_word.cpp
@@ -32,7 +32,7 @@ TTword::TTword(TTstring &str, WordClass wordClass, int id) : _string(str),
_status = str.getStatus() == SS_VALID ? SS_VALID : SS_5;
}
-TTword::TTword(TTword *src) {
+TTword::TTword(const TTword *src) {
if (src->getStatus() != SS_VALID) {
_status = SS_5;
return;
@@ -189,7 +189,7 @@ bool TTword::compareTo(const char *str) const {
return _string == str;
}
-TTword *TTword::copy() {
+TTword *TTword::copy() const {
return new TTword(this);
}