I’m using Cocos2D-x v3.0 beta.
I want to insert a value to a ValueMap like the code below.
@
ValueMap valueMap;
Value val = Value(1);
valueMap.insert(“key”, val);
@
If I wrote this, then I get the error message
“No matching member function for call to ‘insert’”.
I know I can insert an object to Map.
But I cannot insert to ValueMap?