diff options
author | David Kalnischkies <david@kalnischkies.de> | 2014-10-13 08:05:57 +0200 |
---|---|---|
committer | Michael Vogt <mvo@ubuntu.com> | 2014-10-13 11:29:39 +0200 |
commit | 862bafea48af2ceaf96345db237b461307a021f6 (patch) | |
tree | 125f023d661b2e2bd02deee5e511dcdb69af7846 /apt-pkg/clean.cc | |
parent | 7aeab5cb220c0a6ddfbbf9335276940a3a096fb4 (diff) |
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
Diffstat (limited to 'apt-pkg/clean.cc')
-rw-r--r-- | apt-pkg/clean.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/apt-pkg/clean.cc b/apt-pkg/clean.cc index 37128e9aa..606f4ec8c 100644 --- a/apt-pkg/clean.cc +++ b/apt-pkg/clean.cc @@ -131,3 +131,5 @@ bool pkgArchiveCleaner::Go(std::string Dir,pkgCache &Cache) return true; } /*}}}*/ + +pkgArchiveCleaner::~pkgArchiveCleaner() {} |