diff options
author | Sebastian Geerken <devnull@localhost> | 2014-11-14 18:11:22 +0100 |
---|---|---|
committer | Sebastian Geerken <devnull@localhost> | 2014-11-14 18:11:22 +0100 |
commit | d6210add0244512b1dee53fd15b734a1ee980791 (patch) | |
tree | c3f98e0490db0b084ca7c45c30a8bb251cf1cc19 /lout/container.hh | |
parent | ed41bc460ab98bbcd05ce1e63b7aad418082b0be (diff) |
Fixed bug in (unused) Vector<T>::insertSorted().
Diffstat (limited to 'lout/container.hh')
-rw-r--r-- | lout/container.hh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lout/container.hh b/lout/container.hh index f8c22439..3051970e 100644 --- a/lout/container.hh +++ b/lout/container.hh @@ -432,9 +432,9 @@ public: { ((untyped::Vector*)this->base)->put(newElement, newPos); } inline void insert(T *newElement, int pos) { ((untyped::Vector*)this->base)->insert(newElement, pos); } - inline bool insertSorted(T *newElement, - object::Comparator *comparator = - &object::standardComparator) + inline int insertSorted(T *newElement, + object::Comparator *comparator = + &object::standardComparator) { return ((untyped::Vector*)this->base)->insertSorted(newElement, comparator); } inline void remove(int pos) { ((untyped::Vector*)this->base)->remove(pos); } |