diff --git a/packages/react-native/ReactCommon/jsi/jsi/jsi.h b/packages/react-native/ReactCommon/jsi/jsi/jsi.h index 938ee28ab22b7a..e994769c453cba 100644 --- a/packages/react-native/ReactCommon/jsi/jsi/jsi.h +++ b/packages/react-native/ReactCommon/jsi/jsi/jsi.h @@ -1814,7 +1814,7 @@ U* castInterface(T* ptr) { return static_cast(ptr->castInterface(U::uuid)); } return nullptr; -}; +} /// Helper function to cast the object managed by the shared_ptr \p ptr into an /// interface specified by \c U. If the cast is successful, return a shared_ptr