diff options
author | David Kalnischkies <kalnischkies@gmail.com> | 2010-05-30 23:12:41 +0200 |
---|---|---|
committer | David Kalnischkies <kalnischkies@gmail.com> | 2010-05-30 23:12:41 +0200 |
commit | ffee1c2bed4accfe25b2ac9e9f0ab9a0ebae9b5b (patch) | |
tree | 300268d8dc2bec4b4537dfa7f106395290be44e9 /apt-pkg/cacheiterators.h | |
parent | e1dbde8dd006ca0ed6b7a6c383af7bbc60014912 (diff) |
move regex magic from apt-get to new FromRegEx method
Diffstat (limited to 'apt-pkg/cacheiterators.h')
-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 3d58f7ec0..ee852f594 100644 --- a/apt-pkg/cacheiterators.h +++ b/apt-pkg/cacheiterators.h @@ -66,7 +66,7 @@ template<typename Str, typename Itr> class pkgCache::Iterator : inline operator Str const *() const {return S == OwnerPointer() ? 0 : S;}; inline Str &operator *() {return *S;}; inline Str const &operator *() const {return *S;}; - inline pkgCache *Cache() {return Owner;}; + inline pkgCache *Cache() const {return Owner;}; // Mixed stuff inline void operator =(const Itr &B) {S = B.S; Owner = B.Owner;}; |