aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/true_talk/tt_string.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/titanic/true_talk/tt_string.cpp')
-rw-r--r--engines/titanic/true_talk/tt_string.cpp28
1 files changed, 0 insertions, 28 deletions
diff --git a/engines/titanic/true_talk/tt_string.cpp b/engines/titanic/true_talk/tt_string.cpp
index 5574cffb48..7a0078788d 100644
--- a/engines/titanic/true_talk/tt_string.cpp
+++ b/engines/titanic/true_talk/tt_string.cpp
@@ -95,34 +95,6 @@ TTstring &TTstring::operator+=(char c) {
return *this;
}
-const char &TTstring::operator[](uint index) {
- return *(c_str() + index);
-}
-
-bool TTstring::empty() const {
- return _data->_string.empty();
-}
-
-char TTstring::firstChar() const {
- return _data->_string.firstChar();
-}
-
-char TTstring::lastChar() const {
- return _data->_string.lastChar();
-}
-
-int TTstring::size() const {
- return _data->_string.size();
-}
-
-TTstring *TTstring::copy() const {
- return new TTstring(c_str());
-}
-
-bool TTstring::isValid() const {
- return _status == SS_VALID;
-}
-
void TTstring::save(SimpleFile *file) const {
file->writeFormat("%s", c_str());
}