issue #2790: Configuration::getValue has default value now.

This commit is contained in:
James Chen 2013-12-11 14:59:46 +08:00
parent 1a1cef9342
commit 40bc797b1f
1 changed files with 1 additions and 1 deletions

View File

@ -116,7 +116,7 @@ public:
bool init();
/** returns the value of a given key as a double */
const Value& getValue(const std::string& key, const Value& defaultValue) const;
const Value& getValue(const std::string& key, const Value& defaultValue = Value::Null) const;
/** sets a new key/value pair in the configuration dictionary */
void setValue(const std::string& key, const Value& value);