diff options
author | Jay Freeman (saurik) <saurik@saurik.com> | 2017-02-01 14:12:13 -0800 |
---|---|---|
committer | Jay Freeman (saurik) <saurik@saurik.com> | 2017-02-01 14:12:13 -0800 |
commit | c7db7b2f8740c8c1ad859e9ad8f426fe601b5f04 (patch) | |
tree | 9d4b24d90107e0bc37ebe15b187f2e471f7a7d23 | |
parent | 35d8bb14e1102f0231432c7ad33be414e07a15e6 (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 5fb416d79..e594f3e7d 100644 --- a/apt-pkg/cacheiterators.h +++ b/apt-pkg/cacheiterators.h @@ -57,7 +57,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: |