diff options
| author | Julian Andres Klode <jak@debian.org> | 2026-05-01 18:21:41 +0200 |
|---|---|---|
| committer | Julian Andres Klode <jak@debian.org> | 2026-05-01 16:39:24 +0000 |
| commit | 186ea76de09ef2f298f62d518a57d0567d2c0075 (patch) | |
| tree | ee7aa9cf7cb57a60772f2369eee048bc19174bf4 /apt-pkg/acquire-item.h | |
| parent | 08c80e710f913ab56891d34c22dc93f890125952 (diff) | |
Avoid ABI break for transaction cancellation
Diffstat (limited to 'apt-pkg/acquire-item.h')
| -rw-r--r-- | apt-pkg/acquire-item.h | 4 |
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. |
