diff options
author | Paul Gilbert | 2016-05-22 08:09:48 -0400 |
---|---|---|
committer | Paul Gilbert | 2016-07-15 19:14:11 -0400 |
commit | 82614fedf3c2b9380530fdc4bc68d585d31aaedb (patch) | |
tree | 0563b6f08cbb33fdb3316dd466eea70c1fe523b0 /engines/titanic/true_talk/tt_picture.h | |
parent | 6d2f65c97fd4cd23efd3e6e5e0087bf167744d89 (diff) | |
download | scummvm-rg350-82614fedf3c2b9380530fdc4bc68d585d31aaedb.tar.gz scummvm-rg350-82614fedf3c2b9380530fdc4bc68d585d31aaedb.tar.bz2 scummvm-rg350-82614fedf3c2b9380530fdc4bc68d585d31aaedb.zip |
TITANIC: Making TTword constructors and copy methods const
Diffstat (limited to 'engines/titanic/true_talk/tt_picture.h')
-rw-r--r-- | engines/titanic/true_talk/tt_picture.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/titanic/true_talk/tt_picture.h b/engines/titanic/true_talk/tt_picture.h index 71beefe19c..9c7b2acfbf 100644 --- a/engines/titanic/true_talk/tt_picture.h +++ b/engines/titanic/true_talk/tt_picture.h @@ -37,7 +37,7 @@ protected: int _field3C; public: TTpicture(TTstring &str, WordClass wordClass, int val2, int val3, int val4, int val5, int val6); - TTpicture(TTpicture *src); + TTpicture(const TTpicture *src); /** * Load the word @@ -47,7 +47,7 @@ public: /** * Creates a copy of the word */ - virtual TTword *copy(); + virtual TTword *copy() const; /** * Checks whether the word's tag is a known type |