summaryrefslogtreecommitdiff
path: root/apt-pkg/pkgsystem.cc
diff options
context:
space:
mode:
authorJulian Andres Klode <julian.klode@canonical.com>2020-02-26 14:29:06 +0100
committerJulian Andres Klode <julian.klode@canonical.com>2020-02-26 14:30:03 +0100
commitda7de99f8473ae0ac90c90fad3eee80f5f72889a (patch)
tree795744c3038a9d6e9c7cae5ef69e4095c0d1fc94 /apt-pkg/pkgsystem.cc
parentd77c1c7db760ae21d703b8b0f129379e54918bf7 (diff)
pkgsystem: Drop more virtual workaround shenanigans
Diffstat (limited to 'apt-pkg/pkgsystem.cc')
-rw-r--r--apt-pkg/pkgsystem.cc41
1 files changed, 0 insertions, 41 deletions
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<debSystem const *>(this);
- if (deb != NULL)
- return deb->SupportsMultiArch();
- return true;
-}
- /*}}}*/
-std::vector<std::string> pkgSystem::ArchitecturesSupported() const /*{{{*/
-{
- debSystem const * const deb = dynamic_cast<debSystem const *>(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<debSystem *>(this);
- if (deb != NULL)
- return deb->LockInner();
- return _error->Error("LockInner is not implemented");
-}
- /*}}}*/
-bool pkgSystem::UnLockInner(bool NoErrors) /*{{{*/
-{
- debSystem * const deb = dynamic_cast<debSystem *>(this);
- if (deb != NULL)
- return deb->UnLockInner(NoErrors);
- return _error->Error("UnLockInner is not implemented");
-}
- /*}}}*/
-bool pkgSystem::IsLocked() /*{{{*/
-{
- debSystem * const deb = dynamic_cast<debSystem *>(this);
- if (deb != NULL)
- return deb->IsLocked();
- return true;
-}
- /*}}}*/
pkgSystem::~pkgSystem() {}