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 04316be + 3716df4 commit f705a69Copy full SHA for f705a69
stdlib/public/runtime/DynamicCast.cpp
@@ -208,9 +208,8 @@ PROTOCOL_DESCR_SYM(s21_ObjectiveCBridgeable);
208
209
static const _ObjectiveCBridgeableWitnessTable *
210
findBridgeWitness(const Metadata *T) {
211
- static const auto bridgeableProtocol
212
- = &PROTOCOL_DESCR_SYM(s21_ObjectiveCBridgeable);
213
- auto w = swift_conformsToProtocolCommon(T, bridgeableProtocol);
+ auto w = swift_conformsToProtocolCommon(
+ T, &PROTOCOL_DESCR_SYM(s21_ObjectiveCBridgeable));
214
return reinterpret_cast<const _ObjectiveCBridgeableWitnessTable *>(w);
215
}
216
0 commit comments