diff --git a/packages/react-native/ReactCommon/jsi/jsi/jsi.h b/packages/react-native/ReactCommon/jsi/jsi/jsi.h index ed8d37f265bf62..812a3b510fbcdd 100644 --- a/packages/react-native/ReactCommon/jsi/jsi/jsi.h +++ b/packages/react-native/ReactCommon/jsi/jsi/jsi.h @@ -1794,7 +1794,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