diff options
author | Jay Freeman (saurik) <saurik@saurik.com> | 2017-02-01 14:12:13 -0800 |
---|---|---|
committer | Sam Bingner <sam@bingner.com> | 2019-08-17 12:47:30 -1000 |
commit | dbd60d2a7e0f02c38afff27efea81178aa6b86a0 (patch) | |
tree | 02cac04642e9025d3abea9332037aafeb3ff6642 | |
parent | 6067e798a071fdb00ab1ade62b225ed6ff8d68da (diff) |
For ReMap to work, S has to be marked volatile :/.
-rw-r--r-- | apt-pkg/cacheiterators.h | 2 |
1 files changed, 1 insertions, 1 deletions
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<typename Str, typename Itr> class pkgCache::Iterator : Str* OwnerPointer() const { return static_cast<Itr const*>(this)->OwnerPointer(); } protected: - Str *S; + Str *volatile S; pkgCache *Owner; public: |