summaryrefslogtreecommitdiff
path: root/apt-pkg/contrib/configuration.cc
diff options
context:
space:
mode:
authorMichael Vogt <mvo@ubuntu.com>2015-10-05 15:21:47 +0200
committerMichael Vogt <mvo@ubuntu.com>2015-10-05 15:21:47 +0200
commit6f2f5f4afa6f628ad3d068e9ba55fc6455eefa12 (patch)
treed360bbbdff678c19142facabc46f30f693fe32e9 /apt-pkg/contrib/configuration.cc
parent1f5a2d63b784eb919143d0be3f2dee7ff0bb7e83 (diff)
parent56e47f3111ad714c6506c0d60dccb92cfc9311cb (diff)
Merge branch 'debian/sid' into ubuntu/master
Diffstat (limited to 'apt-pkg/contrib/configuration.cc')
-rw-r--r--apt-pkg/contrib/configuration.cc6
1 files changed, 2 insertions, 4 deletions
diff --git a/apt-pkg/contrib/configuration.cc b/apt-pkg/contrib/configuration.cc
index 928c213bb..e0671bcc0 100644
--- a/apt-pkg/contrib/configuration.cc
+++ b/apt-pkg/contrib/configuration.cc
@@ -253,10 +253,8 @@ string Configuration::FindDir(const char *Name,const char *Default) const
// Configuration::FindVector - Find a vector of values /*{{{*/
// ---------------------------------------------------------------------
/* Returns a vector of config values under the given item */
-#if (APT_PKG_MAJOR >= 4 && APT_PKG_MINOR < 13)
-vector<string> Configuration::FindVector(const char *Name) const {
- return FindVector(Name, "");
-}
+#if (APT_PKG_MAJOR >= 4 && APT_PKG_MINOR < 17)
+vector<string> Configuration::FindVector(const char *Name) const { return FindVector(Name, ""); }
#endif
vector<string> Configuration::FindVector(const char *Name, std::string const &Default) const
{