From ceb02e90a542816eda6e72d8ee4868fde8a7da02 Mon Sep 17 00:00:00 2001 From: altalk23 <45172705+altalk23@users.noreply.github.com> Date: Tue, 24 Jan 2023 17:53:31 +0300 Subject: [PATCH] remove empty "fix" filea --- loader/src/hooks/dictionary_fixes.cpp | 29 --------------------------- 1 file changed, 29 deletions(-) delete mode 100644 loader/src/hooks/dictionary_fixes.cpp diff --git a/loader/src/hooks/dictionary_fixes.cpp b/loader/src/hooks/dictionary_fixes.cpp deleted file mode 100644 index 9b9396d6..00000000 --- a/loader/src/hooks/dictionary_fixes.cpp +++ /dev/null @@ -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(objectForKey(key)); -// if (pStr == nullptr) { -// pStr = const_cast(CCDictionary::valueForKey(key)); -// } -// return pStr; -// } - -// const CCString* valueForKey(intptr_t key) { -// CCString* pStr = dynamic_cast(objectForKey(key)); -// if (pStr == nullptr) { -// pStr = const_cast(CCDictionary::valueForKey(key)); -// } -// return pStr; -// } -// }; - -// } // geode::fixes - -// #endif