mirror of
https://github.com/geode-sdk/geode.git
synced 2025-02-17 00:30:26 -05:00
fix ccdictionaryext yet again
This commit is contained in:
parent
6b1164d4a6
commit
32cd4c40f1
1 changed files with 1 additions and 1 deletions
|
@ -1091,7 +1091,7 @@ namespace geode::cocos {
|
||||||
|
|
||||||
auto operator[](const Key& key) {
|
auto operator[](const Key& key) {
|
||||||
auto ret = static_cast<ValuePtr>(m_dict->objectForKey(key));
|
auto ret = static_cast<ValuePtr>(m_dict->objectForKey(key));
|
||||||
if (!ret) m_dict->setObject(cocos2d::CCObject::create(), key);
|
if (!ret) m_dict->setObject(cocos2d::CCNode::create(), key);
|
||||||
|
|
||||||
return CCDictEntry<Key, ValuePtr>(key, m_dict);
|
return CCDictEntry<Key, ValuePtr>(key, m_dict);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue