Skip to content

Commit ffbec0d

Browse files
committed
Fix const cast
1 parent 19cd33b commit ffbec0d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ios/RNSFullWindowOverlay.mm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ - (void)updateLayoutMetrics:(react::LayoutMetrics const &)layoutMetrics
232232
- (void)updateProps:(const facebook::react::Props::Shared &)props
233233
oldProps:(const facebook::react::Props::Shared &)oldProps
234234
{
235-
const auto &oldComponentProps = *std::static_pointer_cast<react::RNSFullWindowOverlayProps>(_props);
235+
const auto &oldComponentProps = *std::static_pointer_cast<const react::RNSFullWindowOverlayProps>(_props);
236236
const auto &newComponentProps = *std::static_pointer_cast<const react::RNSFullWindowOverlayProps>(props);
237237

238238
if (newComponentProps.containerAccessibilityViewIsModal != oldComponentProps.containerAccessibilityViewIsModal) {

0 commit comments

Comments
 (0)