Skip to content

Commit c05f39e

Browse files
Remove duplicated to_underlying helper method (#53494)
Summary: Pull Request resolved: #53494 Changelog: [Internal] Reviewed By: lenaic Differential Revision: D81203760 fbshipit-source-id: 185d6b3a6cd06d58c770dd04c68cc707a7621f08
1 parent 830bc8c commit c05f39e

File tree

2 files changed

+0
-28
lines changed

2 files changed

+0
-28
lines changed

packages/react-native/ReactCxxPlatform/react/utils/EnumHelper.h

Lines changed: 0 additions & 20 deletions
This file was deleted.

scripts/cxx-api/ReactNativeCPP.api

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -45130,14 +45130,6 @@ class TaskDispatchThread {
4513045130
};
4513145131
} // namespace facebook::react
4513245132

45133-
/// @src {packages/react-native/ReactCxxPlatform/react/utils/EnumHelper.h}:
45134-
namespace std {
45135-
template <class Enum>
45136-
constexpr auto to_underlying(Enum e) noexcept {
45137-
return static_cast<std::underlying_type_t<Enum>>(e);
45138-
}
45139-
} // namespace std
45140-
4514145133
/// @src {packages/react-native/ReactCxxPlatform/react/utils/PlatformRunLoopObserver.h}:
4514245134
namespace facebook::react {
4514345135
class PlatformRunLoopObserver : public RunLoopObserver {

0 commit comments

Comments
 (0)