aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2020-07-18 15:05:41 +1000
committerNeil <nyamatongwe@gmail.com>2020-07-18 15:05:41 +1000
commit5129159df4469f029120a8b722ffef65344a6a45 (patch)
treeedb4d6738330344440ff111847a9e0b4baa30180
parentc2dd1b32416906f7495a5c191144eadaf37f5d5d (diff)
downloadscintilla-mirror-5129159df4469f029120a8b722ffef65344a6a45.tar.gz
Remove some constexpr as they made shiboken fail.
-rw-r--r--include/Platform.h4
1 files 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,