summaryrefslogtreecommitdiff
path: root/apt-pkg/acquire-method.h
diff options
context:
space:
mode:
authorDavid Kalnischkies <kalnischkies@gmail.com>2012-05-14 16:53:43 +0200
committerDavid Kalnischkies <kalnischkies@gmail.com>2012-05-14 16:53:43 +0200
commite1284a59de37efeedcc998ef61e8466c35b82eb2 (patch)
treeb1fcf0410eb37eed5cc7cbd78703f21ad3d2efdf /apt-pkg/acquire-method.h
parentb65d5efc0c4097f76d18f9ac737e57b14fe6ec90 (diff)
* apt-pkg/acquire-methods.cc:
- factor out into private Dequeue() to fix access to deleted pointer
Diffstat (limited to 'apt-pkg/acquire-method.h')
-rw-r--r--apt-pkg/acquire-method.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/apt-pkg/acquire-method.h b/apt-pkg/acquire-method.h
index 2dd9ad685..00f99e0a0 100644
--- a/apt-pkg/acquire-method.h
+++ b/apt-pkg/acquire-method.h
@@ -104,6 +104,9 @@ class pkgAcqMethod
pkgAcqMethod(const char *Ver,unsigned long Flags = 0);
virtual ~pkgAcqMethod() {};
+
+ private:
+ void Dequeue();
};
/** @} */