]> git.saurik.com Git - apt.git/commitdiff
ignore deprecated method calls in deprecated method
authorDavid Kalnischkies <david@kalnischkies.de>
Fri, 27 Nov 2015 22:49:15 +0000 (23:49 +0100)
committerDavid Kalnischkies <david@kalnischkies.de>
Fri, 27 Nov 2015 22:49:15 +0000 (23:49 +0100)
Git-Dch: Ignore

apt-pkg/indexfile.cc

index 487a5b920977a4ea942f67263321e79a7e825b3b..f0fae907f5cb9f7180c4957d13b1e31279d555da 100644 (file)
@@ -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
 }
                                                                        /*}}}*/