remove empty "fix" filea

This commit is contained in:
altalk23 2023-01-24 17:53:31 +03:00 committed by alk
parent a90b3e18dd
commit ceb02e90a5

View file

@ -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