[DEBUG] error default value

This commit is contained in:
Edouard DUPIN 2015-02-04 21:31:38 +01:00
parent 5e0c804a56
commit 1028c4aad4

View File

@ -169,7 +169,7 @@ namespace ejson {
* @param[in] _errorValue The return value if the element does not exist.
* @return Value of the Number or the _errorValue;
*/
double getNumberValue(const std::string& _name, double _errorValue=false) const;
double getNumberValue(const std::string& _name, double _errorValue=0.0) const;
public:
/**
* @brief add an element in the Object