From d622baeea4828b4bf62d939b7a4a7cd4051f78a5 Mon Sep 17 00:00:00 2001 From: David Kalnischkies Date: Thu, 28 Apr 2016 15:03:55 +0200 Subject: show StateCache flags in Pkg debug prettyprint This basically introduces ~33 flags in the output, but a package can have only ~11 of them displayed at the same time. There is quiet a bit of duplication also (an uninstalled package is by definition a newinstall if its getting installed), but as this is debug output we are better of showing them all in case one of them isn't set in a way it is supposed to be set. Git-Dch: Ignore --- apt-pkg/prettyprinters.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'apt-pkg/prettyprinters.h') diff --git a/apt-pkg/prettyprinters.h b/apt-pkg/prettyprinters.h index 4af0ecebd..51d9f81a0 100644 --- a/apt-pkg/prettyprinters.h +++ b/apt-pkg/prettyprinters.h @@ -14,9 +14,9 @@ namespace APT { */ struct PrettyPkg { - pkgDepCache const * const DepCache; + pkgDepCache * const DepCache; pkgCache::PkgIterator const Pkg; - PrettyPkg(pkgDepCache const * const depcache, pkgCache::PkgIterator const &pkg) APT_NONNULL(2) : DepCache(depcache), Pkg(pkg) {} + PrettyPkg(pkgDepCache * const depcache, pkgCache::PkgIterator const &pkg) APT_NONNULL(2) : DepCache(depcache), Pkg(pkg) {} }; /** helper to format DepIterator for easier printing in debug messages. * @@ -25,9 +25,9 @@ struct PrettyPkg */ struct PrettyDep { - pkgDepCache const * const DepCache; + pkgDepCache * const DepCache; pkgCache::DepIterator const Dep; - PrettyDep(pkgDepCache const * const depcache, pkgCache::DepIterator const &dep) APT_NONNULL(2) : DepCache(depcache), Dep(dep) {} + PrettyDep(pkgDepCache * const depcache, pkgCache::DepIterator const &dep) APT_NONNULL(2) : DepCache(depcache), Dep(dep) {} }; } -- cgit v1.2.3