]> git.saurik.com Git - apt.git/commit - apt-pkg/indexcopy.h
do not inline virtual destructors with d-pointers
authorDavid Kalnischkies <david@kalnischkies.de>
Mon, 13 Oct 2014 06:05:57 +0000 (08:05 +0200)
committerMichael Vogt <mvo@ubuntu.com>
Mon, 13 Oct 2014 09:29:39 +0000 (11:29 +0200)
commit862bafea48af2ceaf96345db237b461307a021f6
tree125f023d661b2e2bd02deee5e511dcdb69af7846
parent7aeab5cb220c0a6ddfbbf9335276940a3a096fb4
do not inline virtual destructors with d-pointers

Reimplementing an inline method is opening a can of worms we don't want
to open if we ever want to us a d-pointer in those classes, so we do the
only thing which can save us from hell: move the destructors into the cc
sources and we are good.

Technically not an ABI break as the methods inline or not do the same
(nothing), so a program compiled against the old version still works
with the new version (beside that this version is still in experimental,
so nothing really has been build against this library anyway).

Git-Dch: Ignore
18 files changed:
apt-pkg/acquire-method.cc
apt-pkg/acquire-method.h
apt-pkg/acquire.cc
apt-pkg/acquire.h
apt-pkg/clean.cc
apt-pkg/clean.h
apt-pkg/deb/debindexfile.cc
apt-pkg/deb/debindexfile.h
apt-pkg/deb/deblistparser.cc
apt-pkg/deb/deblistparser.h
apt-pkg/deb/debrecords.cc
apt-pkg/deb/debrecords.h
apt-pkg/indexcopy.cc
apt-pkg/indexcopy.h
apt-pkg/indexrecords.cc
apt-pkg/indexrecords.h
apt-pkg/tagfile.cc
apt-pkg/tagfile.h