From da7de99f8473ae0ac90c90fad3eee80f5f72889a Mon Sep 17 00:00:00 2001 From: Julian Andres Klode Date: Wed, 26 Feb 2020 14:29:06 +0100 Subject: pkgsystem: Drop more virtual workaround shenanigans --- apt-pkg/pkgsystem.cc | 41 ----------------------------------------- 1 file changed, 41 deletions(-) (limited to 'apt-pkg/pkgsystem.cc') diff --git a/apt-pkg/pkgsystem.cc b/apt-pkg/pkgsystem.cc index eaa3f5ab7..7e48a68c7 100644 --- a/apt-pkg/pkgsystem.cc +++ b/apt-pkg/pkgsystem.cc @@ -56,22 +56,6 @@ APT_PURE pkgSystem *pkgSystem::GetSystem(const char *Label) return 0; } /*}}}*/ -bool pkgSystem::MultiArchSupported() const /*{{{*/ -{ - debSystem const * const deb = dynamic_cast(this); - if (deb != NULL) - return deb->SupportsMultiArch(); - return true; -} - /*}}}*/ -std::vector pkgSystem::ArchitecturesSupported() const /*{{{*/ -{ - debSystem const * const deb = dynamic_cast(this); - if (deb != NULL) - return deb->SupportedArchitectures(); - return {}; -} - /*}}}*/ // pkgSystem::Set/GetVersionMapping - for internal/external communication/*{{{*/ void pkgSystem::SetVersionMapping(map_id_t const in, map_id_t const out) { @@ -85,29 +69,4 @@ map_id_t pkgSystem::GetVersionMapping(map_id_t const in) const return (o == d->idmap.end()) ? in : o->second; } /*}}}*/ - -bool pkgSystem::LockInner() /*{{{*/ -{ - debSystem * const deb = dynamic_cast(this); - if (deb != NULL) - return deb->LockInner(); - return _error->Error("LockInner is not implemented"); -} - /*}}}*/ -bool pkgSystem::UnLockInner(bool NoErrors) /*{{{*/ -{ - debSystem * const deb = dynamic_cast(this); - if (deb != NULL) - return deb->UnLockInner(NoErrors); - return _error->Error("UnLockInner is not implemented"); -} - /*}}}*/ -bool pkgSystem::IsLocked() /*{{{*/ -{ - debSystem * const deb = dynamic_cast(this); - if (deb != NULL) - return deb->IsLocked(); - return true; -} - /*}}}*/ pkgSystem::~pkgSystem() {} -- cgit v1.2.3