diff options
author | Neil <nyamatongwe@gmail.com> | 2021-03-25 12:34:30 +1100 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2021-03-25 12:34:30 +1100 |
commit | b025ffaf21228dad59af262b523cf991f26190dc (patch) | |
tree | e21126fa71dc403f319df9e9943bf037b3ea7e5f | |
parent | b9425707ea96e19af7617b6e1beefba6e90702e7 (diff) | |
download | scintilla-mirror-b025ffaf21228dad59af262b523cf991f26190dc.tar.gz |
Add conversion from ColourDesired to Fill as that avoids explicit constructors.
-rw-r--r-- | src/Geometry.h | 3 |
1 files changed, 3 insertions, 0 deletions
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_) { + } }; /** |