summaryrefslogtreecommitdiff
path: root/apt-pkg/contrib/mmap.cc
diff options
context:
space:
mode:
authorDavid Kalnischkies <david@kalnischkies.de>2015-12-22 15:46:13 +0100
committerDavid Kalnischkies <david@kalnischkies.de>2015-12-22 15:46:13 +0100
commitfa89055f13726dcc07f9fe14b5f1e8a7af210d61 (patch)
tree90223ca45aa1870e77da8c66600e43694f5b2548 /apt-pkg/contrib/mmap.cc
parent785cb6fc843f4751ff9c57dcdf375ad061e83f36 (diff)
shuffle compressor-specific code into private subclasses
This isn't implementing any new features, it is "just" moving code around from FileFd methods which decided on each call how to handle the request by including all logic for all possible compressor backends in the method body to a model in which backend-specifics are implemented in a FileFdPrivate subclass. This avoids a big chunk of #ifdef's and should make it a tiny bit more obvious which backend uses which code. The execution of the idea is slightly uglified by the need to preserve ABI and API which causes liberal befriending. Git-Dch: Ignore
Diffstat (limited to 'apt-pkg/contrib/mmap.cc')
0 files changed, 0 insertions, 0 deletions