]> git.saurik.com Git - apt.git/commit - apt-pkg/cacheset.h
move PCI::From* methods into CacheSetHelper class
authorDavid Kalnischkies <david@kalnischkies.de>
Thu, 4 Sep 2014 17:01:12 +0000 (19:01 +0200)
committerDavid Kalnischkies <david@kalnischkies.de>
Fri, 26 Sep 2014 22:10:43 +0000 (00:10 +0200)
commit1e064088bf7b3e29cd36d30760fb3e4143a1a49a
treefb1e109fbe6c67982539b7f18b5db18040a9331e
parente6f0c9bca4b052d20a2e48ce9715b89e187b671a
move PCI::From* methods into CacheSetHelper class

The methods itself deal with the helper a lot, so it makes sense to move
them to the helper itself, which helps also if we want to override some
of these methods, the FromString mentioned in the bugreport being the
obvious example.

VCI is spared from this change for now as while it would fit with the
same reasoning it much heavier entangled with the previous
CacheSetHelper change, so moving it now would mean breaking the API.
The PCI change is worthwhile on its own though as it is used by VCI.

Closes: 686221
apt-pkg/cacheset.cc
apt-pkg/cacheset.h