diff --git a/packages/react-native/ReactCommon/react/renderer/graphics/Transform.h b/packages/react-native/ReactCommon/react/renderer/graphics/Transform.h index 3004d038d5e6e2..9ab883edd5acb8 100644 --- a/packages/react-native/ReactCommon/react/renderer/graphics/Transform.h +++ b/packages/react-native/ReactCommon/react/renderer/graphics/Transform.h @@ -51,12 +51,7 @@ struct TransformOperation { ValueUnit x; ValueUnit y; ValueUnit z; - bool operator==(const TransformOperation& other) const { - return type == other.type && x == other.x && y == other.y && z == other.z; - } - bool operator!=(const TransformOperation& other) const { - return !(*this == other); - } + bool operator==(const TransformOperation& other) const = default; }; struct TransformOrigin {