From dbd60d2a7e0f02c38afff27efea81178aa6b86a0 Mon Sep 17 00:00:00 2001 From: "Jay Freeman (saurik)" Date: Wed, 1 Feb 2017 14:12:13 -0800 Subject: For ReMap to work, S has to be marked volatile :/. --- apt-pkg/cacheiterators.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apt-pkg/cacheiterators.h b/apt-pkg/cacheiterators.h index 75581270b..8ed001d21 100644 --- a/apt-pkg/cacheiterators.h +++ b/apt-pkg/cacheiterators.h @@ -59,7 +59,7 @@ template class pkgCache::Iterator : Str* OwnerPointer() const { return static_cast(this)->OwnerPointer(); } protected: - Str *S; + Str *volatile S; pkgCache *Owner; public: -- cgit v1.2.3