]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/orderlist.cc
algorithms: Replace qsort() by thread-safe std::sort()
[apt.git] / apt-pkg / orderlist.cc
index dae37e8f8f8bc55d147af020eb54ee924ba2e26f..d1118e3192f9a39b79dc1dd0def2444a1f0efde4 100644 (file)
 #include <apt-pkg/orderlist.h>
 #include <apt-pkg/depcache.h>
 #include <apt-pkg/error.h>
-#include <apt-pkg/sptr.h>
 #include <apt-pkg/configuration.h>
 #include <apt-pkg/cacheiterators.h>
 #include <apt-pkg/pkgcache.h>
 
 #include <stdlib.h>
 #include <string.h>
-#include <string>
 #include <iostream>
                                                                        /*}}}*/
 
@@ -259,7 +257,7 @@ bool pkgOrderList::OrderUnpack(string *FileList)
       clog << "** Pass C" << endl;
    LoopCount = 0;
    RevDepends = 0;
-   Remove = 0;             // Otherwise the libreadline remove problem occures
+   Remove = 0;             // Otherwise the libreadline remove problem occurs
    if (DoRun() == false)
       return false;