diff options
author | Michael Vogt <michael.vogt@ubuntu.com> | 2011-07-28 10:21:58 +0200 |
---|---|---|
committer | Michael Vogt <michael.vogt@ubuntu.com> | 2011-07-28 10:21:58 +0200 |
commit | c6ec544822a6a5db9f8a507b08381f19c8787761 (patch) | |
tree | f4cf7c2f2a21d29642bf13e87b792cbb9df688a3 /apt-pkg/metaindex.h | |
parent | f448075d89fedde182e6c2a59c89808e403b7f66 (diff) | |
parent | a2cba9cca24762c090ee6988f14ae40f92a6441f (diff) |
merged from debian-experimental
Diffstat (limited to 'apt-pkg/metaindex.h')
-rw-r--r-- | apt-pkg/metaindex.h | 4 |
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; |