]> git.saurik.com Git - apt.git/commitdiff
For ReMap to work, S has to be marked volatile :/. cydia_1.1.28%b10
authorJay Freeman (saurik) <saurik@saurik.com>
Wed, 1 Feb 2017 22:12:13 +0000 (14:12 -0800)
committerJay Freeman (saurik) <saurik@saurik.com>
Wed, 1 Feb 2017 22:12:13 +0000 (14:12 -0800)
apt-pkg/cacheiterators.h

index 5fb416d79df09f27bbe1bd535e2d3f623374419e..e594f3e7df5331d10397d2b3de406db1697d671f 100644 (file)
@@ -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: