summaryrefslogtreecommitdiff
path: root/apt-pkg/orderlist.h
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2015-10-23 17:28:27 +0200
committerJulian Andres Klode <jak@debian.org>2015-10-30 15:35:57 +0100
commit7d70f7993e2e6e465ac216bc21ec15ed7b7d9ff5 (patch)
treeb6bc0f3fc002e48129e6e8bce30ec2835d8baf98 /apt-pkg/orderlist.h
parentf1f9f9bfec4c2ad664698a026773276b0b5a4ac8 (diff)
orderlist: Replace qsort() by thread-safe std::sort()
Gbp-Dch: ignore
Diffstat (limited to 'apt-pkg/orderlist.h')
-rw-r--r--apt-pkg/orderlist.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/apt-pkg/orderlist.h b/apt-pkg/orderlist.h
index 7b35b2955..80876e3f9 100644
--- a/apt-pkg/orderlist.h
+++ b/apt-pkg/orderlist.h
@@ -69,9 +69,8 @@ class pkgOrderList : protected pkgCache::Namespace
bool DoRun();
// For pre sorting
- static pkgOrderList *Me;
- static int OrderCompareA(const void *a, const void *b) APT_PURE;
- static int OrderCompareB(const void *a, const void *b) APT_PURE;
+ int OrderCompareA(Package *a, Package *b) APT_PURE;
+ int OrderCompareB(Package *a, Package *b) APT_PURE;
int FileCmp(PkgIterator A,PkgIterator B) APT_PURE;
public: