diff options
author | David Kalnischkies <david@kalnischkies.de> | 2016-04-28 15:03:55 +0200 |
---|---|---|
committer | David Kalnischkies <david@kalnischkies.de> | 2016-05-01 10:50:24 +0200 |
commit | d622baeea4828b4bf62d939b7a4a7cd4051f78a5 (patch) | |
tree | 65902a4caa3e3e75eafdbc600175b35588f70ae8 /apt-pkg/prettyprinters.h | |
parent | 0264502c2ed8da69358959d6dc7beb67f422b5cf (diff) |
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
Diffstat (limited to 'apt-pkg/prettyprinters.h')
-rw-r--r-- | apt-pkg/prettyprinters.h | 8 |
1 files changed, 4 insertions, 4 deletions
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) {} }; } |