X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/a2fdb57ff93c1b1f35b796c3c99878ec3ae54a06..68ba0b7f4e1c03edfb6f621e7e7314ea610af96b:/apt-pkg/tagfile.h?ds=inline diff --git a/apt-pkg/tagfile.h b/apt-pkg/tagfile.h index db43bfbf9..4cd99b2fc 100644 --- a/apt-pkg/tagfile.h +++ b/apt-pkg/tagfile.h @@ -43,7 +43,7 @@ class pkgTagSection unsigned int StartValue; unsigned int NextInBucket; - TagData(unsigned int const StartTag) : StartTag(StartTag), NextInBucket(0) {} + TagData(unsigned int const StartTag) : StartTag(StartTag), EndTag(0), StartValue(0), NextInBucket(0) {} }; std::vector Tags; unsigned int LookupTable[0x100]; @@ -94,7 +94,7 @@ class pkgTagSection /** \brief amount of Tags in the current section * * Note: if a Tag is mentioned repeatly it will be counted multiple - * times, but only the last occurance is available via Find methods. + * times, but only the last occurrence is available via Find methods. */ unsigned int Count() const; bool Exists(const char* const Tag) const; @@ -109,7 +109,7 @@ class pkgTagSection }; pkgTagSection(); - virtual ~pkgTagSection() {}; + virtual ~pkgTagSection(); }; class pkgTagFilePrivate;