From 9c98b3c16041ebd41aabbb82e71d424a940a1d47 Mon Sep 17 00:00:00 2001 From: Sebastian Geerken Date: Tue, 5 Mar 2013 11:34:03 +0100 Subject: Comparable is now subclass of Object (not pseudo-interface anymore). The old solution would have made RTTI neccessary to work correctly. --- dw/textblock_iterator.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dw/textblock_iterator.cc') diff --git a/dw/textblock_iterator.cc b/dw/textblock_iterator.cc index c6aaab57..22f43fb6 100644 --- a/dw/textblock_iterator.cc +++ b/dw/textblock_iterator.cc @@ -57,7 +57,7 @@ object::Object *Textblock::TextblockIterator::clone() return new TextblockIterator ((Textblock*)getWidget(), getMask(), index); } -int Textblock::TextblockIterator::compareTo(misc::Comparable *other) +int Textblock::TextblockIterator::compareTo(object::Comparable *other) { return index - ((TextblockIterator*)other)->index; } -- cgit v1.2.3