diff options
author | Julian Andres Klode <jak@debian.org> | 2015-10-23 17:17:54 +0200 |
---|---|---|
committer | Julian Andres Klode <jak@debian.org> | 2015-10-30 15:35:52 +0100 |
commit | f1f9f9bfec4c2ad664698a026773276b0b5a4ac8 (patch) | |
tree | be5bae060dea5b5251e076f8c5e7ed0d91aecaf2 /apt-pkg/algorithms.h | |
parent | 42285f827b6a28becc2d47d82f82f74f6ca68a11 (diff) |
algorithms: Replace qsort() by thread-safe std::sort()
Gbp-Dch: ignore
Diffstat (limited to 'apt-pkg/algorithms.h')
-rw-r--r-- | apt-pkg/algorithms.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/apt-pkg/algorithms.h b/apt-pkg/algorithms.h index aad261b63..77a39b415 100644 --- a/apt-pkg/algorithms.h +++ b/apt-pkg/algorithms.h @@ -113,8 +113,7 @@ class pkgProblemResolver /*{{{*/ bool Debug; // Sort stuff - static pkgProblemResolver *This; - APT_HIDDEN static int ScoreSort(const void *a,const void *b) APT_PURE; + APT_HIDDEN int ScoreSort(Package const *A, Package const *B) APT_PURE; struct PackageKill { |