[Midnightbsd-cvs] src [8516] trunk/sbin/devd/devd.cc: not a stable sort
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Sun Sep 18 18:57:24 EDT 2016
Revision: 8516
http://svnweb.midnightbsd.org/src/?rev=8516
Author: laffer1
Date: 2016-09-18 18:57:24 -0400 (Sun, 18 Sep 2016)
Log Message:
-----------
not a stable sort
Modified Paths:
--------------
trunk/sbin/devd/devd.cc
Modified: trunk/sbin/devd/devd.cc
===================================================================
--- trunk/sbin/devd/devd.cc 2016-09-18 22:56:57 UTC (rev 8515)
+++ trunk/sbin/devd/devd.cc 2016-09-18 22:57:24 UTC (rev 8516)
@@ -436,7 +436,7 @@
void
config::sort_vector(vector<event_proc *> &v)
{
- sort(v.begin(), v.end(), epv_greater());
+ stable_sort(v.begin(), v.end(), epv_greater());
}
void
More information about the Midnightbsd-cvs
mailing list