diff options
author | David Kalnischkies <kalnischkies@gmail.com> | 2011-02-27 14:30:50 +0100 |
---|---|---|
committer | David Kalnischkies <kalnischkies@gmail.com> | 2011-02-27 14:30:50 +0100 |
commit | 31273d9ff4fa1a6e073168e9cbaa91d1f53be853 (patch) | |
tree | 07ba2e0473dc28eafa0576cb0c5aed46c927c347 | |
parent | dc7eb288ff95230f9a0f81c6b3485b6b06802480 (diff) | |
download | apt-31273d9ff4fa1a6e073168e9cbaa91d1f53be853.tar.gz |
d'uh! implement and not only declare the string wrapper for FindVector
-rw-r--r-- | apt-pkg/contrib/configuration.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apt-pkg/contrib/configuration.h b/apt-pkg/contrib/configuration.h index 175c1bef3..71e5a0e47 100644 --- a/apt-pkg/contrib/configuration.h +++ b/apt-pkg/contrib/configuration.h @@ -72,8 +72,8 @@ class Configuration string Find(string const &Name, string const &Default) const {return Find(Name.c_str(),Default.c_str());}; string FindFile(const char *Name,const char *Default = 0) const; string FindDir(const char *Name,const char *Default = 0) const; - std::vector<string> FindVector(string const &Name) const; std::vector<string> FindVector(const char *Name) const; + std::vector<string> FindVector(string const &Name) const { return FindVector(Name.c_str()); }; int FindI(const char *Name,int const &Default = 0) const; int FindI(string const &Name,int const &Default = 0) const {return FindI(Name.c_str(),Default);}; bool FindB(const char *Name,bool const &Default = false) const; |