From ae59a64d5241cacdf9dd8c4c9cea99eb6225a39f Mon Sep 17 00:00:00 2001 From: Neil Date: Sat, 18 Jul 2020 15:05:41 +1000 Subject: Backport: Remove some constexpr as they made shiboken fail. Backport of changeset 8420:572995dc6928. --- include/Platform.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/Platform.h') diff --git a/include/Platform.h b/include/Platform.h index bcbc8c91a..b5e2109b4 100644 --- a/include/Platform.h +++ b/include/Platform.h @@ -273,7 +273,7 @@ class ColourStop { public: float position; ColourAlpha colour; - constexpr ColourStop(float position_, ColourAlpha colour_) noexcept : + ColourStop(float position_, ColourAlpha colour_) noexcept : position(position_), colour(colour_) { } }; @@ -291,7 +291,7 @@ struct FontParameters { int technology; int characterSet; - constexpr FontParameters( + FontParameters( const char *faceName_, float size_=10, int weight_=400, -- cgit v1.2.3