From fe6daf12b8dd7849b2f717cbe5a1d3d571072f22 Mon Sep 17 00:00:00 2001 From: 23rd <23rd@vivaldi.net> Date: Sun, 6 Dec 2020 17:47:14 +0300 Subject: [PATCH] Added not equal operator to BlobBezier::Radiuses. --- ui/paint/blob.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ui/paint/blob.h b/ui/paint/blob.h index 58a6ce5..bd1d990 100644 --- a/ui/paint/blob.h +++ b/ui/paint/blob.h @@ -19,6 +19,9 @@ public: inline bool operator==(const Radiuses &other) const { return (min == other.min) && (max == other.max); } + inline bool operator!=(const Radiuses &other) const { + return !(min == other.min) && (max == other.max); + } }; BlobBezier(int n, float minScale, float minSpeed = 0, float maxSpeed = 0);