diff options
| author | Neil <nyamatongwe@gmail.com> | 2021-03-19 09:23:46 +1100 |
|---|---|---|
| committer | Neil <nyamatongwe@gmail.com> | 2021-03-19 09:23:46 +1100 |
| commit | f1d2180c18c0005a5f0f326515e3b4134e277258 (patch) | |
| tree | 1a2abf7c2eb111daed285aebcf69d567e91a0d10 /src | |
| parent | 721d52df9cb90af8d1545093a2304023f1affd14 (diff) | |
| download | scintilla-mirror-f1d2180c18c0005a5f0f326515e3b4134e277258.tar.gz | |
Make simple constructor constexpr.
Diffstat (limited to 'src')
| -rw-r--r-- | src/Platform.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Platform.h b/src/Platform.h index 46c3faf5b..353e97503 100644 --- a/src/Platform.h +++ b/src/Platform.h @@ -101,7 +101,7 @@ struct FontParameters { int technology; int characterSet; - FontParameters( + constexpr FontParameters( const char *faceName_, float size_=10, int weight_=400, |
