[Aptitude-devel] r3030 - in branches/aptitude-0.3/aptitude: . src/generic
Daniel Burrows
dburrows@costa.debian.org
Thu, 21 Apr 2005 22:51:49 +0000
Author: dburrows
Date: Thu Apr 21 22:51:46 2005
New Revision: 3030
Modified:
branches/aptitude-0.3/aptitude/ChangeLog
branches/aptitude-0.3/aptitude/src/generic/aptitude_resolver.h
Log:
Make the glue code of the apt resolver static.
Modified: branches/aptitude-0.3/aptitude/ChangeLog
==============================================================================
--- branches/aptitude-0.3/aptitude/ChangeLog (original)
+++ branches/aptitude-0.3/aptitude/ChangeLog Thu Apr 21 22:51:46 2005
@@ -1,3 +1,9 @@
+2005-04-21 Daniel Burrows <dburrows@debian.org>
+
+ * src/generic/aptitude_resolver.h:
+
+ Make the glue code functions static.
+
2005-04-20 Daniel Burrows <dburrows@debian.org>
* src/desc_parse.cc:
Modified: branches/aptitude-0.3/aptitude/src/generic/aptitude_resolver.h
==============================================================================
--- branches/aptitude-0.3/aptitude/src/generic/aptitude_resolver.h (original)
+++ branches/aptitude-0.3/aptitude/src/generic/aptitude_resolver.h Thu Apr 21 22:51:46 2005
@@ -1056,22 +1056,22 @@
}
};
- package_iterator packages_begin() const
+ static package_iterator packages_begin()
{
return (*apt_cache_file)->PkgBegin();
}
- dep_iterator deps_begin() const
+ static dep_iterator deps_begin()
{
return (*apt_cache_file)->PkgBegin();
}
- broken_dep_iterator broken_begin() const
+ static broken_dep_iterator broken_begin()
{
return (*apt_cache_file)->PkgBegin();
}
- unsigned long get_version_count() const
+ static unsigned long get_version_count()
{
// PackageCount is added to make room for the UNINST versions.
return (*apt_cache_file)->Head().VersionCount+(*apt_cache_file)->Head().PackageCount;