mirror of
https://github.com/geode-sdk/geode.git
synced 2024-11-27 01:45:35 -05:00
remove empty "fix" filea
This commit is contained in:
parent
a90b3e18dd
commit
ceb02e90a5
1 changed files with 0 additions and 29 deletions
|
@ -1,29 +0,0 @@
|
|||
// // this is the fix for the dynamic_cast problems
|
||||
|
||||
// USE_GEODE_NAMESPACE();
|
||||
|
||||
// #if defined(GEODE_IS_IOS) || defined(GEODE_IS_MACOS)
|
||||
// namespace geode::fixes {
|
||||
// using namespace geode::cast;
|
||||
|
||||
// class $modify(CCDictionaryTypeinfoFix, CCDictionary) {
|
||||
// const CCString* valueForKey(const gd::string& key) {
|
||||
// CCString* pStr = dynamic_cast<CCString*>(objectForKey(key));
|
||||
// if (pStr == nullptr) {
|
||||
// pStr = const_cast<CCString*>(CCDictionary::valueForKey(key));
|
||||
// }
|
||||
// return pStr;
|
||||
// }
|
||||
|
||||
// const CCString* valueForKey(intptr_t key) {
|
||||
// CCString* pStr = dynamic_cast<CCString*>(objectForKey(key));
|
||||
// if (pStr == nullptr) {
|
||||
// pStr = const_cast<CCString*>(CCDictionary::valueForKey(key));
|
||||
// }
|
||||
// return pStr;
|
||||
// }
|
||||
// };
|
||||
|
||||
// } // geode::fixes
|
||||
|
||||
// #endif
|
Loading…
Reference in a new issue