From f1d2180c18c0005a5f0f326515e3b4134e277258 Mon Sep 17 00:00:00 2001 From: Neil Date: Fri, 19 Mar 2021 09:23:46 +1100 Subject: Make simple constructor constexpr. --- src/Platform.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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, -- cgit v1.2.3