summaryrefslogtreecommitdiff
path: root/apt-pkg/metaindex.cc
diff options
context:
space:
mode:
Diffstat (limited to 'apt-pkg/metaindex.cc')
-rw-r--r--apt-pkg/metaindex.cc9
1 files changed, 0 insertions, 9 deletions
diff --git a/apt-pkg/metaindex.cc b/apt-pkg/metaindex.cc
index d0b3f5165..fe0d9c597 100644
--- a/apt-pkg/metaindex.cc
+++ b/apt-pkg/metaindex.cc
@@ -146,25 +146,16 @@ void metaIndex::swapLoad(metaIndex * const OldMetaIndex) /*{{{*/
bool metaIndex::IsArchitectureSupported(std::string const &arch) const /*{{{*/
{
- debReleaseIndex const * const deb = dynamic_cast<debReleaseIndex const *>(this);
- if (deb != NULL)
- return deb->IsArchitectureSupported(arch);
return true;
}
/*}}}*/
bool metaIndex::IsArchitectureAllSupportedFor(IndexTarget const &target) const/*{{{*/
{
- debReleaseIndex const * const deb = dynamic_cast<debReleaseIndex const *>(this);
- if (deb != NULL)
- return deb->IsArchitectureAllSupportedFor(target);
return true;
}
/*}}}*/
bool metaIndex::HasSupportForComponent(std::string const &component) const/*{{{*/
{
- debReleaseIndex const * const deb = dynamic_cast<debReleaseIndex const *>(this);
- if (deb != NULL)
- return deb->HasSupportForComponent(component);
return true;
}
/*}}}*/