aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/core/list.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/titanic/core/list.h')
-rw-r--r--engines/titanic/core/list.h10
1 files changed, 2 insertions, 8 deletions
diff --git a/engines/titanic/core/list.h b/engines/titanic/core/list.h
index 0ede36e9cc..a37bca3db2 100644
--- a/engines/titanic/core/list.h
+++ b/engines/titanic/core/list.h
@@ -35,10 +35,7 @@ namespace Titanic {
*/
class ListItem: public CSaveableObject {
public:
- /**
- * Return the class name
- */
- virtual const char *getClassName() const { return "ListItem"; }
+ CLASSDEF
/**
* Save the data for the class to file
@@ -54,10 +51,7 @@ public:
template<typename T>
class List : public CSaveableObject, public Common::List<T *> {
public:
- /**
- * Return the class name
- */
- virtual const char *getClassName() const { return nullptr; }
+ CLASSDEF
/**
* Save the data for the class to file