summaryrefslogtreecommitdiff
path: root/apt-pkg/pkgrecords.cc
diff options
context:
space:
mode:
authorDavid Kalnischkies <david@kalnischkies.de>2015-09-17 10:50:30 +0200
committerDavid Kalnischkies <david@kalnischkies.de>2015-11-04 18:04:00 +0100
commitb2a893dda28aea05128394cd61c7ce38cfa0624b (patch)
tree709ab3969f14366364b47fedf34ad71dbdab8a4a /apt-pkg/pkgrecords.cc
parent825db89094a8413dcc9c8ef3abe0a45b0bb7a2e2 (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 'apt-pkg/pkgrecords.cc')
0 files changed, 0 insertions, 0 deletions