Change Value::asBool() return false by default.

This commit is contained in:
boyu0 2014-04-30 15:07:26 +08:00
parent 8283ab9435
commit 0699aa94fe
1 changed files with 1 additions and 1 deletions

View File

@ -559,7 +559,7 @@ bool Value::asBool() const
return _baseData.doubleVal == 0.0 ? false : true; return _baseData.doubleVal == 0.0 ? false : true;
} }
return true; return false;
} }
std::string Value::asString() const std::string Value::asString() const