diff options
author | David Kalnischkies <david@kalnischkies.de> | 2014-05-08 19:03:33 +0200 |
---|---|---|
committer | David Kalnischkies <david@kalnischkies.de> | 2014-05-22 17:43:48 +0200 |
commit | 1038d077588956448a423ed1c3887524a90d6532 (patch) | |
tree | 3738fa78b523d7cce4b8ed7c77b33774db0338b8 /apt-pkg/pkgcache.cc | |
parent | a6fd378a9b2a541a18aeba722ecfedba9af567cb (diff) |
mark as Automatic/Downloadable pure as gcc suggests
Git-Dch: Ignore
Reported-By: gcc
Diffstat (limited to 'apt-pkg/pkgcache.cc')
-rw-r--r-- | apt-pkg/pkgcache.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apt-pkg/pkgcache.cc b/apt-pkg/pkgcache.cc index 91b75f52e..58a63459f 100644 --- a/apt-pkg/pkgcache.cc +++ b/apt-pkg/pkgcache.cc @@ -822,7 +822,7 @@ int pkgCache::VerIterator::CompareVer(const VerIterator &B) const // VerIterator::Downloadable - Checks if the version is downloadable /*{{{*/ // --------------------------------------------------------------------- /* */ -bool pkgCache::VerIterator::Downloadable() const +APT_PURE bool pkgCache::VerIterator::Downloadable() const { VerFileIterator Files = FileList(); for (; Files.end() == false; ++Files) @@ -835,7 +835,7 @@ bool pkgCache::VerIterator::Downloadable() const // --------------------------------------------------------------------- /* This checks to see if any of the versions files are not NotAutomatic. True if this version is selectable for automatic installation. */ -bool pkgCache::VerIterator::Automatic() const +APT_PURE bool pkgCache::VerIterator::Automatic() const { VerFileIterator Files = FileList(); for (; Files.end() == false; ++Files) |