diff options
author | David Kalnischkies <david@kalnischkies.de> | 2015-11-27 23:49:15 +0100 |
---|---|---|
committer | David Kalnischkies <david@kalnischkies.de> | 2015-11-27 23:49:15 +0100 |
commit | 668ae33adc17cdc445218be490604d5f900ac9f3 (patch) | |
tree | b1fd3c6fc73a760da188e0202afb2cee6a0953a4 | |
parent | 0300f0077af832e87beb290f26b13404cab81fd3 (diff) |
ignore deprecated method calls in deprecated method
Git-Dch: Ignore
-rw-r--r-- | apt-pkg/indexfile.cc | 2 |
1 files changed, 2 insertions, 0 deletions
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 } /*}}}*/ |