summaryrefslogtreecommitdiff
path: root/apt-pkg/acquire-item.h
diff options
context:
space:
mode:
Diffstat (limited to 'apt-pkg/acquire-item.h')
-rw-r--r--apt-pkg/acquire-item.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/apt-pkg/acquire-item.h b/apt-pkg/acquire-item.h
index 1182e415e..8a85d20ba 100644
--- a/apt-pkg/acquire-item.h
+++ b/apt-pkg/acquire-item.h
@@ -254,7 +254,7 @@ class APT_PUBLIC pkgAcquire::Item : public WeakPointable /*{{{*/
virtual std::string ShortDesc() const;
/** \brief Invoked by the worker when the download is cancelled before completion. */
- virtual void Cancelled();
+ APT_HIDDEN void Cancelled();
/** \brief Invoked by the worker when the download is completely done. */
virtual void Finished();
@@ -578,7 +578,7 @@ class APT_HIDDEN pkgAcqMetaClearSig final : public pkgAcqMetaIndex
bool VerifyDone(std::string const &Message, pkgAcquire::MethodConfig const *Cnf) override;
void Done(std::string const &Message, HashStringList const &Hashes,
pkgAcquire::MethodConfig const *Cnf) override;
- void Cancelled() override;
+ void DoCancelled();
void Finished() override;
/** \brief Starts downloading the individual index files.