diff options
author | David Kalnischkies <david@kalnischkies.de> | 2016-04-08 13:03:05 +0200 |
---|---|---|
committer | Julian Andres Klode <jak@debian.org> | 2016-08-31 13:49:37 +0200 |
commit | 43e01d61c2f9872536ff8b879b58ae367d2ec8cb (patch) | |
tree | 674e045db04f590550077d6a7d9139d439d29bf2 /apt-pkg/contrib/sptr.h | |
parent | 90daf43aeb6a911f6511faf5064f5811fd27acb5 (diff) |
more explicit MarkRequired algorithm code
Piling everything in a single if statement always made my head wobble,
but it hasn't even a benefit as the most common case of a package which
isn't installed passes all of the old if and lands in the non-existent
else-part of the inner if. So beside a subjective cleanup of what goes
on this implementation should also be a bit faster.
No change in behavior should be present.
Gbp-Dch: Ignore
(cherry picked from commit 769e9f3ea1cbe67d3b98e6db6c956abde2384868)
Diffstat (limited to 'apt-pkg/contrib/sptr.h')
0 files changed, 0 insertions, 0 deletions