mirror of
https://github.com/geode-sdk/geode.git
synced 2024-11-22 23:48:08 -05:00
Make CCDictionaryExt::operator= return type not const
This commit is contained in:
parent
8310485fc0
commit
174136ce0b
1 changed files with 1 additions and 1 deletions
|
@ -880,7 +880,7 @@ namespace geode::cocos {
|
||||||
if (m_dict) m_dict->release();
|
if (m_dict) m_dict->release();
|
||||||
}
|
}
|
||||||
|
|
||||||
CCDictionaryExt const& operator=(cocos2d::CCDictionary* d) {
|
CCDictionaryExt& operator=(cocos2d::CCDictionary* d) {
|
||||||
m_dict->release();
|
m_dict->release();
|
||||||
m_dict = d;
|
m_dict = d;
|
||||||
m_dict->retain();
|
m_dict->retain();
|
||||||
|
|
Loading…
Reference in a new issue