summaryrefslogtreecommitdiff
path: root/apt-pkg
diff options
context:
space:
mode:
authorDavid Kalnischkies <kalnischkies@gmail.com>2010-04-13 09:28:57 +0200
committerDavid Kalnischkies <kalnischkies@gmail.com>2010-04-13 09:28:57 +0200
commit3d5a34b22a83eb4bf9b1407e13240b8e2a333d5f (patch)
tree522091e2062d5b70b3d25c6efea8ecc4cbac0113 /apt-pkg
parenta722b2c5c935768efbdd5b23eed7ce32ccd60908 (diff)
regex for package names executed on Grp- not PkgIterator
Diffstat (limited to 'apt-pkg')
-rw-r--r--apt-pkg/depcache.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/apt-pkg/depcache.h b/apt-pkg/depcache.h
index 6765d3e7c..72b9b5d4d 100644
--- a/apt-pkg/depcache.h
+++ b/apt-pkg/depcache.h
@@ -331,6 +331,7 @@ class pkgDepCache : protected pkgCache::Namespace
// Legacy.. We look like a pkgCache
inline operator pkgCache &() {return *Cache;};
inline Header &Head() {return *Cache->HeaderP;};
+ inline GrpIterator GrpBegin() {return Cache->GrpBegin();};
inline PkgIterator PkgBegin() {return Cache->PkgBegin();};
inline GrpIterator FindGrp(string const &Name) {return Cache->FindGrp(Name);};
inline PkgIterator FindPkg(string const &Name) {return Cache->FindPkg(Name);};