issue #2790: Initializes Value when empty constructor was invoked.

This commit is contained in:
James Chen 2013-12-07 14:26:17 +08:00
parent 6b0589679b
commit 06e6d38ab0
1 changed files with 3 additions and 3 deletions

View File

@ -28,9 +28,9 @@
NS_CC_BEGIN
Value::Value()
: _vectorData(nullptr)
, _mapData(nullptr)
, _intKeyMapData(nullptr)
: _vectorData(new ValueVector())
, _mapData(new ValueMap())
, _intKeyMapData(new IntValueMap())
, _type(Type::NONE)
{