summaryrefslogtreecommitdiff
path: root/apt-pkg/contrib
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2012-10-01 15:05:43 +0200
committerMichael Vogt <michael.vogt@ubuntu.com>2012-10-01 15:05:43 +0200
commit62b66f2593293aea5b42185fd2a2eb9d6e4d0cf2 (patch)
treef34e2b721df5732daddf41aa98eb3463fad1256e /apt-pkg/contrib
parentd016834e39f668449385b1668240bdf905d62ade (diff)
rename CleaAll() -> Clear()
Diffstat (limited to 'apt-pkg/contrib')
-rw-r--r--apt-pkg/contrib/configuration.cc5
-rw-r--r--apt-pkg/contrib/configuration.h2
2 files changed, 4 insertions, 3 deletions
diff --git a/apt-pkg/contrib/configuration.cc b/apt-pkg/contrib/configuration.cc
index 43533e5bb..95c7cb96e 100644
--- a/apt-pkg/contrib/configuration.cc
+++ b/apt-pkg/contrib/configuration.cc
@@ -405,8 +405,9 @@ void Configuration::Clear(string const &Name, string const &Value)
}
/*}}}*/
-// Configuration::ClearAll - Clear everything /*{{{*/
-void Configuration::ClearAll()
+// Configuration::Clear - Clear everything /*{{{*/
+// ---------------------------------------------------------------------
+void Configuration::Clear()
{
const Configuration::Item *Top = Tree(0);
while( Top != 0 )
diff --git a/apt-pkg/contrib/configuration.h b/apt-pkg/contrib/configuration.h
index 181ef696b..d9c6a30b5 100644
--- a/apt-pkg/contrib/configuration.h
+++ b/apt-pkg/contrib/configuration.h
@@ -94,7 +94,7 @@ class Configuration
// clear a whole tree
void Clear(const std::string &Name);
- void ClearAll();
+ void Clear();
// remove a certain value from a list (e.g. the list of "APT::Keep-Fds")
void Clear(std::string const &List, std::string const &Value);