Unit Tests - Config

- Added unit tests for Config.  Why didn't I do this a year ago?
- Shut off old 1.7.0 code (gulp).
- Task now thoroughly broken, and only 1.8.0 can help.
This commit is contained in:
Paul Beckingham
2009-06-07 16:31:10 -04:00
parent d702ba8f24
commit 7a219c999e
8 changed files with 121 additions and 49 deletions

View File

@@ -270,7 +270,7 @@ const std::string Config::get (
}
////////////////////////////////////////////////////////////////////////////////
bool Config::get (const std::string& key, bool default_value)
bool Config::get (const std::string& key, const bool default_value)
{
if ((*this).find (key) != (*this).end ())
{