From 307912e8d74d9684875a791b0550c10afc14b0b0 Mon Sep 17 00:00:00 2001 From: Julian Andres Klode Date: Tue, 19 Oct 2021 18:11:14 +0200 Subject: Invalidate cached architecture list when building cache Fix a regression in python-apt where switching the architectures in the config between cache invocations regressed. Regression-Of: 8ff4e226af55a9feb168477a2b1a99f9c5152e54 Gbp-Dch: full --- apt-pkg/pkgcache.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apt-pkg/pkgcache.h') diff --git a/apt-pkg/pkgcache.h b/apt-pkg/pkgcache.h index 0e8046ddc..55baa3cef 100644 --- a/apt-pkg/pkgcache.h +++ b/apt-pkg/pkgcache.h @@ -268,7 +268,7 @@ class APT_PUBLIC pkgCache /*{{{*/ inline RlsFileIterator RlsFileBegin(); inline RlsFileIterator RlsFileEnd(); - APT_DEPRECATED_MSG("Always true") inline bool MultiArchCache() const { return MultiArchEnabled; } + inline bool MultiArchCache() const { return MultiArchEnabled; } inline char const * NativeArch(); // Make me a function -- cgit v1.2.3-70-g09d2