X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/4dc77823d360158d6870a5710cc8c17064f1308f..d27daedb6a0bf672508072100f20233d08ccf0e0:/apt-pkg/algorithms.h?ds=sidebyside diff --git a/apt-pkg/algorithms.h b/apt-pkg/algorithms.h index aad261b63..1a9d5aefd 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 { @@ -143,7 +142,7 @@ class pkgProblemResolver /*{{{*/ // Try to resolve problems only by using keep bool ResolveByKeep(OpProgress * const Progress = NULL); - APT_DEPRECATED void InstallProtect(); + APT_DEPRECATED_MSG("NOOP as MarkInstall enforces not overriding FromUser markings") void InstallProtect(); explicit pkgProblemResolver(pkgDepCache *Cache); virtual ~pkgProblemResolver();