diff options
author | David Kalnischkies <david@kalnischkies.de> | 2015-09-17 10:50:30 +0200 |
---|---|---|
committer | David Kalnischkies <david@kalnischkies.de> | 2015-11-04 18:04:00 +0100 |
commit | b2a893dda28aea05128394cd61c7ce38cfa0624b (patch) | |
tree | 709ab3969f14366364b47fedf34ad71dbdab8a4a /cmdline/apt-sortpkgs.cc | |
parent | 825db89094a8413dcc9c8ef3abe0a45b0bb7a2e2 (diff) |
implement operator* for cacheset iterators
Technically an abi-break as we change a template parameter to
std::iterator for this, but this class is empty in all instances and
just causes the right typedefs to be set – which were incorrect as
detected by std::stable_partition as its implementation uses ::pointer
and needs also a operator* implementation.
In practice CacheSets have no external users (yet) and the difference is
visible only at compile time (which was an error before and now works),
not while linking.
The changes to apt-mark are functionally identical to the code before,
just that we use a std:: algorithm now instead of trying hard on our
own.
Diffstat (limited to 'cmdline/apt-sortpkgs.cc')
0 files changed, 0 insertions, 0 deletions