diff options
author | lloyd <[email protected]> | 2006-07-16 08:26:37 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2006-07-16 08:26:37 +0000 |
commit | 640c705f2dc41a50ade47114d64ff5cdf9fd3598 (patch) | |
tree | d758ec06be2ce75354de2883613b9261521e7a53 /include/config.h | |
parent | e446213555c13befbd9a4e7e908fcf380e5efc76 (diff) |
Remove a declaration for add_alias, which was removed at some point
without the decl also being removed.
Add an add_alias function to the Config class, just a simple wrapper
around Config::set
Change policy.cpp to use add_alias instead of set when setting an alias
Diffstat (limited to 'include/config.h')
-rw-r--r-- | include/config.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/config.h b/include/config.h index e230314a7..1612cd7e7 100644 --- a/include/config.h +++ b/include/config.h @@ -32,7 +32,9 @@ class Config bool option_as_bool(const std::string&) const; std::vector<std::string> option_as_list(const std::string&) const; + void add_alias(const std::string&, const std::string&); std::string deref_alias(const std::string&) const; + std::string option(const std::string&) const; void load_inifile(const std::string&); |