summaryrefslogtreecommitdiff
path: root/apt-pkg
diff options
context:
space:
mode:
authorJay Freeman (saurik) <saurik@saurik.com>2017-02-01 14:12:13 -0800
committerSam Bingner <sam@bingner.com>2019-08-17 12:47:30 -1000
commitdbd60d2a7e0f02c38afff27efea81178aa6b86a0 (patch)
tree02cac04642e9025d3abea9332037aafeb3ff6642 /apt-pkg
parent6067e798a071fdb00ab1ade62b225ed6ff8d68da (diff)
For ReMap to work, S has to be marked volatile :/.
Diffstat (limited to 'apt-pkg')
-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 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: