On 05/02/2014 01:57 PM, pulkomandy@xxxxxxxxxxxxx wrote:
6df2ee7: Try to fix build on Linux. * Linux is the only one of our supported build hosts to not have mergesort. Provide an implementation that calls qsort, since the qsort implementation in the glibc used by Linux uses a mergesort (!) for small arrays.
Is there a reason why you use a non-standard sort function in the first place? There's std::stable_sort(), which you can use, if you need a stable sorting algorithm.
CU, Ingo