diff options
author | David Kalnischkies <kalnischkies@gmail.com> | 2011-07-06 13:41:18 +0200 |
---|---|---|
committer | David Kalnischkies <kalnischkies@gmail.com> | 2011-07-06 13:41:18 +0200 |
commit | 78485ab210b815c21ce55cb0cecb834ba5158e18 (patch) | |
tree | 116fa523f26d87440a0b8cdc8a192f7047227c04 /apt-pkg/contrib/configuration.h | |
parent | b41929c0139d0658046fb4e4088a8de167705a99 (diff) |
* apt-pkg/init.cc:
- use CndSet in pkgInitConfig (Closes: #629617)
Diffstat (limited to 'apt-pkg/contrib/configuration.h')
-rw-r--r-- | apt-pkg/contrib/configuration.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apt-pkg/contrib/configuration.h b/apt-pkg/contrib/configuration.h index 71e5a0e47..3568ce815 100644 --- a/apt-pkg/contrib/configuration.h +++ b/apt-pkg/contrib/configuration.h @@ -82,8 +82,9 @@ class Configuration inline void Set(const string &Name,const string &Value) {Set(Name.c_str(),Value);}; void CndSet(const char *Name,const string &Value); + void CndSet(const char *Name,const int Value); void Set(const char *Name,const string &Value); - void Set(const char *Name,const int &Value); + void Set(const char *Name,const int Value); inline bool Exists(const string &Name) const {return Exists(Name.c_str());}; bool Exists(const char *Name) const; |