We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 12724e1 + e4e2b23 commit f9bdb45Copy full SHA for f9bdb45
stdlib/toolchain/Compatibility50/Overrides.cpp
@@ -112,7 +112,7 @@ static void installGetClassHook_untrusted() {
112
113
#pragma clang diagnostic push
114
#pragma clang diagnostic ignored "-Wunguarded-availability"
115
- if (objc_setHook_getClass) {
+ if (&objc_setHook_getClass) {
116
objc_setHook_getClass(getObjCClassByMangledName_untrusted,
117
&OldGetClassHook);
118
}
0 commit comments