Merge pull request #6520 from boyu0/set_value_asbool_return_false_default

Change Value::asBool() return false by default.
This commit is contained in:
James Chen 2014-04-30 16:43:52 +08:00
commit 03d10e8926
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 true;
return false;
}
std::string Value::asString() const