summaryrefslogtreecommitdiffstats
path: root/ure
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@gmail.com>2013-01-25 16:56:43 -0500
committerKohei Yoshida <kohei.yoshida@gmail.com>2013-01-25 16:59:58 -0500
commitd785b3c41fa6d841ca69b26a6a1ea9ce7a92205d (patch)
treef57108f0285a851bae07be502cb2fb338bfe2351 /ure
parentString cleanup. (diff)
downloadcore-d785b3c41fa6d841ca69b26a6a1ea9ce7a92205d.tar.gz
core-d785b3c41fa6d841ca69b26a6a1ea9ce7a92205d.zip
bnc#590020: Sort data points stably.
std::sort is unstable sort, which is not what we want. Use std::stable_sort to sort data points by X values. If we use unstable sort, it may mess up the order of the sequence when two data points contain identical X values. Change-Id: I6453a986185b326dc680fbcec6227ea332235b22
Diffstat (limited to 'ure')
0 files changed, 0 insertions, 0 deletions