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
commitae59a64d5241cacdf9dd8c4c9cea99eb6225a39f (patch)
treece4395c20078f5eb29d685ff8746a35f2ec3fec3
parentcf3c77c09d71cd4b1ebf8e7fe05a9485d182387e (diff)
downloadscintilla-mirror-ae59a64d5241cacdf9dd8c4c9cea99eb6225a39f.tar.gz
Backport: Remove some constexpr as they made shiboken fail.
Backport of changeset 8420:572995dc6928.
-rw-r--r--include/Platform.h4
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,