mirror of https://github.com/axmolengine/axmol.git
issue #2790: Initializes Value when empty constructor was invoked.
This commit is contained in:
parent
6b0589679b
commit
06e6d38ab0
|
@ -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)
|
||||
{
|
||||
|
||||
|
|
Loading…
Reference in New Issue