summaryrefslogtreecommitdiff
path: root/apt-pkg/cacheiterators.h
diff options
context:
space:
mode:
authorJay Freeman (saurik) <saurik@saurik.com>2017-02-01 14:12:13 -0800
committerJay Freeman (saurik) <saurik@saurik.com>2017-02-01 14:12:13 -0800
commitc7db7b2f8740c8c1ad859e9ad8f426fe601b5f04 (patch)
tree9d4b24d90107e0bc37ebe15b187f2e471f7a7d23 /apt-pkg/cacheiterators.h
parent35d8bb14e1102f0231432c7ad33be414e07a15e6 (diff)
For ReMap to work, S has to be marked volatile :/.
Diffstat (limited to 'apt-pkg/cacheiterators.h')
-rw-r--r--apt-pkg/cacheiterators.h2
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: