mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Remove unused Color/Transform #includes and use enum class for TransformOperationType (#52549)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/52549 Changelog: [Internal] - The #includes are not used - `enum class` is C++, (enum is C) Reviewed By: rshest Differential Revision: D78135339 fbshipit-source-id: 1a35301ea063ce17c195be7dc373132d342f111a
This commit is contained in:
committed by
Facebook GitHub Bot
parent
aa2a5a682f
commit
88cb7832ea
@@ -8,7 +8,6 @@
|
||||
#pragma once
|
||||
|
||||
#include <functional>
|
||||
#include <limits>
|
||||
|
||||
#include <react/renderer/graphics/ColorComponents.h>
|
||||
#include <react/renderer/graphics/HostPlatformColor.h>
|
||||
|
||||
@@ -8,7 +8,6 @@
|
||||
#pragma once
|
||||
|
||||
#include <array>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
#include <react/renderer/debug/flags.h>
|
||||
@@ -37,7 +36,7 @@ inline bool isZero(Float n) {
|
||||
* An "Arbitrary" operation means that the transform was seeded with some
|
||||
* arbitrary initial result.
|
||||
*/
|
||||
enum class TransformOperationType {
|
||||
enum class TransformOperationType : uint8_t {
|
||||
Arbitrary,
|
||||
Identity,
|
||||
Perspective,
|
||||
|
||||
Reference in New Issue
Block a user