summaryrefslogtreecommitdiff
path: root/apt-pkg/metaindex.h
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2011-08-08 15:25:43 +0200
committerMichael Vogt <michael.vogt@ubuntu.com>2011-08-08 15:25:43 +0200
commit29bc06137f829d51608fe697f3e27125d883fcef (patch)
tree7121486de1ce74a3e979f3dc0d6bc60b8a59dfe7 /apt-pkg/metaindex.h
parentf96bcef72c47ab32f4742da2673a12b3a47d8367 (diff)
parenta1e9379a86f199817d275b2d28d1a6b61039fcaa (diff)
merged from ubuntu-plus-debian-experimental
Diffstat (limited to 'apt-pkg/metaindex.h')
-rw-r--r--apt-pkg/metaindex.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/apt-pkg/metaindex.h b/apt-pkg/metaindex.h
index 1d2140799..f60235a5d 100644
--- a/apt-pkg/metaindex.h
+++ b/apt-pkg/metaindex.h
@@ -39,6 +39,10 @@ class metaIndex
virtual vector<pkgIndexFile *> *GetIndexFiles() = 0;
virtual bool IsTrusted() const = 0;
+ metaIndex(string const &URI, string const &Dist, char const * const Type) :
+ Indexes(NULL), Type(Type), URI(URI), Dist(Dist) {
+ }
+
virtual ~metaIndex() {
if (Indexes == 0)
return;