Skip to content

Commit

Permalink
Add override to RCTHermesInstance destructor
Browse files Browse the repository at this point in the history
Summary:
For some clang warnings configurations, you may hit `-Winconsistent-missing-destructor-override` without this override modifier.

## Changelog

[Internal]

Differential Revision: D67203040
  • Loading branch information
rozele authored and facebook-github-bot committed Dec 13, 2024
1 parent e5b0697 commit f42d001
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ class RCTHermesInstance : public JSRuntimeFactory {
std::unique_ptr<JSRuntime> createJSRuntime(
std::shared_ptr<MessageQueueThread> msgQueueThread) noexcept override;

~RCTHermesInstance(){};
~RCTHermesInstance() override{};

private:
CrashManagerProvider _crashManagerProvider;
Expand Down

0 comments on commit f42d001

Please sign in to comment.