Explorar o código

ignore deprecated method calls in deprecated method

Git-Dch: Ignore
David Kalnischkies %!s(int64=10) %!d(string=hai) anos
pai
achega
668ae33adc
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      apt-pkg/indexfile.cc

+ 2 - 0
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
 }
 									/*}}}*/