summaryrefslogtreecommitdiff
path: root/apt-pkg
diff options
context:
space:
mode:
authorMichael Vogt <mvo@debian.org>2014-06-10 15:07:15 +0200
committerMichael Vogt <mvo@debian.org>2014-06-10 15:07:15 +0200
commit401e5db12dd71ed84e8d17a559ff5932c1b98367 (patch)
treebe6738bc9c07e3cbcd1083410c229cbe0f74e4b4 /apt-pkg
parent4656863a42c02700bde2869183a774e4427923cb (diff)
use pkgSrcRecords::Step() instead of Next()
Diffstat (limited to 'apt-pkg')
-rw-r--r--apt-pkg/srcrecords.cc6
-rw-r--r--apt-pkg/srcrecords.h2
2 files changed, 4 insertions, 4 deletions
diff --git a/apt-pkg/srcrecords.cc b/apt-pkg/srcrecords.cc
index f4d034b85..81b1c545d 100644
--- a/apt-pkg/srcrecords.cc
+++ b/apt-pkg/srcrecords.cc
@@ -81,10 +81,10 @@ bool pkgSrcRecords::Restart()
return true;
}
/*}}}*/
-// SrcRecords::Next - Step to the next Source Record /*{{{*/
+// SrcRecords::Step - Step to the next Source Record /*{{{*/
// ---------------------------------------------------------------------
/* Step to the next source package record */
-const pkgSrcRecords::Parser* pkgSrcRecords::Next()
+const pkgSrcRecords::Parser* pkgSrcRecords::Step()
{
if (Current == Files.end())
return 0;
@@ -111,7 +111,7 @@ pkgSrcRecords::Parser *pkgSrcRecords::Find(const char *Package,bool const &SrcOn
{
while (true)
{
- if(Next() == 0)
+ if(Step() == 0)
return 0;
// IO error somehow
diff --git a/apt-pkg/srcrecords.h b/apt-pkg/srcrecords.h
index 82460d70f..e000e176a 100644
--- a/apt-pkg/srcrecords.h
+++ b/apt-pkg/srcrecords.h
@@ -97,7 +97,7 @@ class pkgSrcRecords
// Step to the next SourcePackage and return pointer to the
// next SourceRecord. The pointer is owned by libapt.
- const Parser* Next();
+ const Parser* Step();
// Locate a package by name and return pointer to the Parser.
// The pointer is owned by libapt.