From 5129159df4469f029120a8b722ffef65344a6a45 Mon Sep 17 00:00:00 2001 From: Neil Date: Sat, 18 Jul 2020 15:05:41 +1000 Subject: Remove some constexpr as they made shiboken fail. --- include/Platform.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/Platform.h b/include/Platform.h index 0164983e9..628611132 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