summaryrefslogtreecommitdiff
path: root/apt-pkg/acquire-item.h
diff options
context:
space:
mode:
authorJulian Andres Klode <julian.klode@canonical.com>2020-02-26 14:04:51 +0100
committerJulian Andres Klode <julian.klode@canonical.com>2020-02-26 14:10:47 +0100
commitda18eb10188a22fc1698a9b8466272f2826447db (patch)
tree93592b50027f59e04f66b48eb452de7a06eb0d52 /apt-pkg/acquire-item.h
parentddc9023474f079d995e07fc1cdffb81865fa9eb2 (diff)
Drop pkgAcquire::Item::ModifyRetries() ABI hack
Diffstat (limited to 'apt-pkg/acquire-item.h')
-rw-r--r--apt-pkg/acquire-item.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/apt-pkg/acquire-item.h b/apt-pkg/acquire-item.h
index 7d23d89f8..d3f1bddf8 100644
--- a/apt-pkg/acquire-item.h
+++ b/apt-pkg/acquire-item.h
@@ -152,6 +152,9 @@ class pkgAcquire::Item : public WeakPointable /*{{{*/
*/
std::string DestFile;
+ /** \brief Number of retries */
+ unsigned int Retries;
+
/** \brief Invoked by the acquire worker when the object couldn't
* be fetched.
*
@@ -231,8 +234,6 @@ class pkgAcquire::Item : public WeakPointable /*{{{*/
* no trailing newline.
*/
virtual std::string Custom600Headers() const;
- // Retries should really be a member of the Item, but can't be for ABI reasons
- APT_HIDDEN unsigned int &ModifyRetries();
// this is more a hack than a proper external interface, hence hidden
APT_HIDDEN std::unordered_map<std::string, std::string> &ModifyCustomFields();
// this isn't the super nicest interface either…