From: Jay Freeman (saurik) Date: Wed, 1 Feb 2017 22:12:13 +0000 (-0800) Subject: For ReMap to work, S has to be marked volatile :/. X-Git-Tag: cydia_1.1.28%b10^0 X-Git-Url: https://git.saurik.com/apt.git/commitdiff_plain/c7db7b2f8740c8c1ad859e9ad8f426fe601b5f04 For ReMap to work, S has to be marked volatile :/. --- diff --git a/apt-pkg/cacheiterators.h b/apt-pkg/cacheiterators.h index 5fb416d79..e594f3e7d 100644 --- a/apt-pkg/cacheiterators.h +++ b/apt-pkg/cacheiterators.h @@ -57,7 +57,7 @@ template class pkgCache::Iterator : Str* OwnerPointer() const { return static_cast(this)->OwnerPointer(); } protected: - Str *S; + Str *volatile S; pkgCache *Owner; public: