From b025ffaf21228dad59af262b523cf991f26190dc Mon Sep 17 00:00:00 2001 From: Neil Date: Thu, 25 Mar 2021 12:34:30 +1100 Subject: Add conversion from ColourDesired to Fill as that avoids explicit constructors. --- src/Geometry.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Geometry.h b/src/Geometry.h index b17588c39..c58354308 100644 --- a/src/Geometry.h +++ b/src/Geometry.h @@ -268,6 +268,9 @@ public: constexpr Fill(ColourAlpha colour_) noexcept : colour(colour_) { } + constexpr Fill(ColourDesired colour_) noexcept : + colour(colour_) { + } }; /** -- cgit v1.2.3