mirror of
https://github.com/facebook/react-native.git
synced 2026-11-18 20:19:07 +00:00
Split definition to separate statements (#55572)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/55572 Changelog: [Internal] Separates enum declaration and declaration of the field of that type. Reviewed By: cortinico Differential Revision: D93477888 fbshipit-source-id: 7e145c498e377be93cfb87230e68ca8f4663c87e
This commit is contained in:
1 parent
5229e507e1
commit
34fb790bff
1 file changed
+2
-1
+2
-1
@@ -66,7 +66,8 @@ struct AccessibilityState {
|
||||
bool selected{false};
|
||||
bool busy{false};
|
||||
std::optional<bool> expanded{std::nullopt};
|
||||
enum CheckedState { Unchecked, Checked, Mixed, None } checked{None};
|
||||
enum CheckedState { Unchecked, Checked, Mixed, None };
|
||||
CheckedState checked{CheckedState::None};
|
||||
};
|
||||
|
||||
constexpr bool operator==(const AccessibilityState &lhs, const AccessibilityState &rhs)
|
||||
|
||||
Reference in new issue
Block a user