From 668ae33adc17cdc445218be490604d5f900ac9f3 Mon Sep 17 00:00:00 2001 From: David Kalnischkies Date: Fri, 27 Nov 2015 23:49:15 +0100 Subject: ignore deprecated method calls in deprecated method Git-Dch: Ignore --- apt-pkg/indexfile.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apt-pkg/indexfile.cc b/apt-pkg/indexfile.cc index 487a5b920..f0fae907f 100644 --- a/apt-pkg/indexfile.cc +++ b/apt-pkg/indexfile.cc @@ -107,9 +107,11 @@ bool pkgIndexFile::CheckLanguageCode(const char * const Lang) /*}}}*/ // IndexFile::LanguageCode - Return the Language Code /*{{{*/ std::string pkgIndexFile::LanguageCode() { +APT_IGNORE_DEPRECATED_PUSH if (TranslationsAvailable() == false) return ""; return APT::Configuration::getLanguages()[0]; +APT_IGNORE_DEPRECATED_POP } /*}}}*/ -- cgit v1.2.3