diff options
author | Neil <nyamatongwe@gmail.com> | 2020-07-18 15:05:41 +1000 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2020-07-18 15:05:41 +1000 |
commit | ae59a64d5241cacdf9dd8c4c9cea99eb6225a39f (patch) | |
tree | ce4395c20078f5eb29d685ff8746a35f2ec3fec3 /include/Platform.h | |
parent | cf3c77c09d71cd4b1ebf8e7fe05a9485d182387e (diff) | |
download | scintilla-mirror-ae59a64d5241cacdf9dd8c4c9cea99eb6225a39f.tar.gz |
Backport: Remove some constexpr as they made shiboken fail.
Backport of changeset 8420:572995dc6928.
Diffstat (limited to 'include/Platform.h')
-rw-r--r-- | include/Platform.h | 4 |
1 files changed, 2 insertions, 2 deletions
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, |