File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ static Style DefaultStyle {
4141 { " Arial.ttf" , 35 , nullptr }
4242};
4343
44- static constexpr char *SeverityToken[] = {
44+ static const char *SeverityToken[] = {
4545 " " ,
4646 " *TRACE*" ,
4747 " *DEBUG*" ,
Original file line number Diff line number Diff line change @@ -228,15 +228,15 @@ enum class Alignment : int32_t {
228228 Invalid = -1 , // /< The invalid alignment.
229229 Left = 0 , // /< The left alignment.
230230 Center, // /< The center alignment.
231- Right, // /< The right alignment.
231+ Right, // /< The right alignment.
232232 Count // /< The number of alignments.
233233};
234234
235235// / @brief The font description struct.
236236struct Font {
237- const char *mName ; // /< The name of the font.
238- uint32_t mSize ; // /< The size of the font.
239- FontImpl *mFont ; // /< The font implementation.
237+ const char *mName { nullptr }; // /< The name of the font.
238+ uint32_t mSize { 12 }; // /< The size of the font.
239+ FontImpl *mFont { nullptr } ; // /< The font implementation.
240240};
241241
242242// / @brief The font cache.
You can’t perform that action at this time.
0 commit comments