From 30f0566b7f88462c794abf8d0edc2066ed9f90d7 Mon Sep 17 00:00:00 2001 From: Peng Fan Date: Thu, 24 Jul 2014 11:09:03 +0800 Subject: std::list should be sorted before unique std::list should be sorted first, then unique can remove duplicated objects. Otherwise there will be many duplicated objects. Signed-off-by: Peng Fan --- rld-outputter.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/rld-outputter.cpp b/rld-outputter.cpp index e00fbae..e6527eb 100644 --- a/rld-outputter.cpp +++ b/rld-outputter.cpp @@ -428,6 +428,7 @@ namespace rld cache.get_objects (objects); objects.merge (dep_copy); + objects.sort (); objects.unique (); app.open (true); -- cgit v1.2.3