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:
Christoph Purrer
2025-07-11 06:51:49 -07:00
committed by Facebook GitHub Bot
parent aa2a5a682f
commit 88cb7832ea
2 changed files with 1 additions and 3 deletions
@@ -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,