diff options
author | Sebastian Geerken <devnull@localhost> | 2013-03-05 11:34:03 +0100 |
---|---|---|
committer | Sebastian Geerken <devnull@localhost> | 2013-03-05 11:34:03 +0100 |
commit | 9c98b3c16041ebd41aabbb82e71d424a940a1d47 (patch) | |
tree | 496d8b2648a5ad072a2d78b932a4129e7d3dd12d /lout/container.cc | |
parent | 49ad0b5252190ffbfb4511131af2032f7f341a60 (diff) |
Comparable is now subclass of Object (not pseudo-interface anymore). The old solution would have made RTTI neccessary to work correctly.
Diffstat (limited to 'lout/container.cc')
-rw-r--r-- | lout/container.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lout/container.cc b/lout/container.cc index 6a55fc2c..9e71ba77 100644 --- a/lout/container.cc +++ b/lout/container.cc @@ -190,7 +190,7 @@ void Vector::remove(int pos) */ void Vector::sort() { - qsort(array, numElements, sizeof(Object*), misc::Comparable::compareFun); + qsort(array, numElements, sizeof(Object*), Comparable::compareFun); } Object *Vector::VectorIterator::getNext() |