From f2c2e4222951928620b557953e2227762f2990f2 Mon Sep 17 00:00:00 2001 From: adjabaev Date: Tue, 27 Aug 2024 00:05:13 +0200 Subject: [PATCH] Test updating patch --- patches/warn_SkMatrix.patch | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/patches/warn_SkMatrix.patch b/patches/warn_SkMatrix.patch index 1c4bfd0..fce507a 100644 --- a/patches/warn_SkMatrix.patch +++ b/patches/warn_SkMatrix.patch @@ -5,9 +5,9 @@ index 03140760d6..ec7cd35923 100644 @@ -86,7 +86,7 @@ public: return m; } - static SkMatrix SK_WARN_UNUSED_RESULT Translate(SkVector t) { return Translate(t.x(), t.y()); } -- static SkMatrix SK_WARN_UNUSED_RESULT Translate(SkIVector t) { return Translate(t.x(), t.y()); } -+ static SkMatrix SK_WARN_UNUSED_RESULT Translate(SkIVector t) { return Translate((SkScalar) t.x(), (SkScalar) t.y()); } + [[nodiscard]] static SkMatrix Translate(SkVector t) { return Translate(t.x(), t.y()); } +- [[nodiscard]] static SkMatrix Translate(SkIVector t) { return Translate(t.x(), t.y()); } ++ [[nodiscard]] static SkMatrix Translate(SkIVector t) { return Translate((SkScalar) t.x(), (SkScalar) t.y()); } /** Sets SkMatrix to rotate by |deg| about a pivot point at (0, 0).