summaryrefslogtreecommitdiff
path: root/apt-pkg
diff options
context:
space:
mode:
authorJulian Andres Klode <julian.klode@canonical.com>2020-02-26 13:55:38 +0100
committerJulian Andres Klode <julian.klode@canonical.com>2020-02-26 13:55:38 +0100
commite4e9af454db78c287ca062ac7d75bdd63bd7f744 (patch)
treee4b34f068c96d16f5dd929da64cd7a9cbc965b7e /apt-pkg
parentb31040e9c1441a2a7296ce3ff12f5052fc522366 (diff)
Remove pkgAcqFile::Failed overload
Diffstat (limited to 'apt-pkg')
-rw-r--r--apt-pkg/acquire-item.cc6
-rw-r--r--apt-pkg/acquire-item.h1
2 files changed, 0 insertions, 7 deletions
diff --git a/apt-pkg/acquire-item.cc b/apt-pkg/acquire-item.cc
index bbbda3bd3..3e6436114 100644
--- a/apt-pkg/acquire-item.cc
+++ b/apt-pkg/acquire-item.cc
@@ -3935,12 +3935,6 @@ void pkgAcqFile::Done(string const &Message,HashStringList const &CalcHashes,
}
}
/*}}}*/
-void pkgAcqFile::Failed(string const &Message, pkgAcquire::MethodConfig const *const Cnf) /*{{{*/
-{
- // FIXME: Remove this pointless overload on next ABI break
- Item::Failed(Message, Cnf);
-}
- /*}}}*/
string pkgAcqFile::Custom600Headers() const /*{{{*/
{
if (IsIndexFile)
diff --git a/apt-pkg/acquire-item.h b/apt-pkg/acquire-item.h
index c62e44b78..7d23d89f8 100644
--- a/apt-pkg/acquire-item.h
+++ b/apt-pkg/acquire-item.h
@@ -1146,7 +1146,6 @@ class pkgAcqFile : public pkgAcquire::Item
virtual bool HashesRequired() const APT_OVERRIDE;
// Specialized action members
- virtual void Failed(std::string const &Message,pkgAcquire::MethodConfig const * const Cnf) APT_OVERRIDE;
virtual void Done(std::string const &Message, HashStringList const &CalcHashes,
pkgAcquire::MethodConfig const * const Cnf) APT_OVERRIDE;
virtual std::string DescURI() const APT_OVERRIDE {return Desc.URI;};