From 1028c4aad42319b1e2cb0a7a4a7512fcba6383bf Mon Sep 17 00:00:00 2001 From: Edouard DUPIN Date: Wed, 4 Feb 2015 21:31:38 +0100 Subject: [PATCH] [DEBUG] error default value --- ejson/Object.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ejson/Object.h b/ejson/Object.h index 0226e99..72297b8 100644 --- a/ejson/Object.h +++ b/ejson/Object.h @@ -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