aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/goto.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/goto.h')
-rw-r--r--src/goto.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/src/goto.h b/src/goto.h
index 5d29e8b..de4432d 100644
--- a/src/goto.h
+++ b/src/goto.h
@@ -24,13 +24,14 @@
#include <glib/gprintf.h>
#include "sciteco.h"
+#include "memory.h"
#include "parser.h"
#include "undo.h"
#include "rbtree.h"
namespace SciTECO {
-class GotoTable : private RBTreeString {
+class GotoTable : private RBTreeString, public Object {
class UndoTokenSet : public UndoToken {
GotoTable *table;
@@ -53,12 +54,6 @@ class GotoTable : private RBTreeString {
table->dump();
#endif
}
-
- gsize
- get_size(void) const
- {
- return sizeof(*this) + strlen(name) + 1;
- }
};
class Label : public RBEntryOwnString {