Explorar el Código

ignore deprecated method calls in deprecated method

Git-Dch: Ignore
David Kalnischkies hace 10 años
padre
commit
668ae33adc
Se han modificado 1 ficheros con 2 adiciones y 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
 }
 									/*}}}*/