Projects > cpp > Issues > Bug #576

We are migrating issue tracker of Cocos2d-x Project to Github, please create new issue there. Thanks.

Create Issue on Github

some CCMutableDictionary methods must return _KeyT instead of std::string

Bug #576 [Closed]
walzer@cocos2d-x.org 2011-07-05 22:55 . Updated over 4 years ago

read this post http://www.cocos2d-x.org/boards/6/topics/2205?r=2208
Maybe we should refactor this class to

template
class CCMutableDictionary : public CCObject
{
public:
    typedef std::map    CCObjectMap;

or

class CCMutableDictionary : public CCObject
{
public:
    typedef std::map    CCObjectMap;
walzer@cocos2d-x.org 2011-07-05 22:56
  • Category set to 5
  • Target version set to cocos2d-1.0.0-x-0.9.0
walzer@cocos2d-x.org 2011-07-06 18:29
  • Status changed from New to Resolved
  • % Done changed from 0 to 100

Applied in changeset commit:3be312260e0a1a676e4c3aaa683828c1e3dab5c9.

walzer@cocos2d-x.org 2011-07-11 18:33
  • Tracker changed from Refactor to Bug
  • Subject changed from refactor CCMutableDictionary to some CCMutableDictionary methods must return _KeyT instead of std::string
  • Status changed from Resolved to Closed
  • Assignee set to walzer@cocos2d-x.org
walzer@cocos2d-x.org 2012-05-25 08:10
  • Project changed from cocos2d-x to cpp
  • Category deleted (5)
  • Target version deleted (cocos2d-1.0.0-x-0.9.0)

Atom PDF

Status:Closed
Start date:2011-07-05
Priority:Normal
Due date:
Assignee:walzer@cocos2d-x.org
% Done:

100%

Category:-
Target version:-

Sign up for our newsletter to keep up with the latest developments, releases and updates for Cocos2d-x.