diff options
author | Sebastian Geerken <devnull@localhost> | 2014-11-18 13:30:06 +0100 |
---|---|---|
committer | Sebastian Geerken <devnull@localhost> | 2014-11-18 13:30:06 +0100 |
commit | d9fba2910501b62b73d375a8a5e67dea3f1deccf (patch) | |
tree | ac967d9157a59e6dd2ed90814b03464a475e18bf /lout | |
parent | 1831b70de6931f95b30d78bab7c874cd5d70c821 (diff) | |
parent | 2db5a9e3e790863db2f67e727512f2373d4c82dc (diff) |
Merge with main repo.
Diffstat (limited to 'lout')
-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); } |