From 186ea76de09ef2f298f62d518a57d0567d2c0075 Mon Sep 17 00:00:00 2001 From: Julian Andres Klode Date: Fri, 1 May 2026 18:21:41 +0200 Subject: Avoid ABI break for transaction cancellation --- apt-pkg/acquire-item.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'apt-pkg/acquire-item.h') 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. -- cgit v1.2.3-70-g09d2