X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/a52f938bcf7f31d348c6ce1d462a8ce14a38b8cc..131a2dc0cb36c29d002c2a61f96411e5d84f4adf:/apt-pkg/indexfile.h diff --git a/apt-pkg/indexfile.h b/apt-pkg/indexfile.h index d3a8f9917..d5d1cf57a 100644 --- a/apt-pkg/indexfile.h +++ b/apt-pkg/indexfile.h @@ -56,6 +56,7 @@ class pkgIndexFile virtual pkgRecords::Parser *CreatePkgParser(pkgCache::PkgFileIterator /*File*/) const {return 0;}; Type(); + virtual ~Type() {}; }; virtual const Type *GetType() const = 0; @@ -80,7 +81,7 @@ class pkgIndexFile virtual bool MergeFileProvides(pkgCacheGenerator &/*Gen*/,OpProgress &/*Prog*/) const {return true;}; virtual pkgCache::PkgFileIterator FindInCache(pkgCache &Cache) const; - static bool UseTranslation(); + static bool TranslationsAvailable(); static bool CheckLanguageCode(const char *Lang); static string LanguageCode();