fix warning regarding braces in initialization
This commit is contained in:
parent
586a8e4c50
commit
d93ac18985
1 changed files with 7 additions and 7 deletions
|
@ -24,13 +24,13 @@ namespace Ms {
|
|||
// styledProperties
|
||||
//---------------------------------------------------------
|
||||
|
||||
static constexpr std::array<StyledProperty,5> styledProperties {
|
||||
StyleIdx::bendFontFace, P_ID::FONT_FACE,
|
||||
StyleIdx::bendFontSize, P_ID::FONT_SIZE,
|
||||
StyleIdx::bendFontBold, P_ID::FONT_BOLD,
|
||||
StyleIdx::bendFontItalic, P_ID::FONT_ITALIC,
|
||||
StyleIdx::bendFontUnderline, P_ID::FONT_UNDERLINE
|
||||
};
|
||||
static constexpr std::array<StyledProperty,5> styledProperties {{
|
||||
{ StyleIdx::bendFontFace, P_ID::FONT_FACE },
|
||||
{ StyleIdx::bendFontSize, P_ID::FONT_SIZE },
|
||||
{ StyleIdx::bendFontBold, P_ID::FONT_BOLD },
|
||||
{ StyleIdx::bendFontItalic, P_ID::FONT_ITALIC },
|
||||
{ StyleIdx::bendFontUnderline, P_ID::FONT_UNDERLINE }
|
||||
}};
|
||||
|
||||
//---------------------------------------------------------
|
||||
// label
|
||||
|
|
Loading…
Reference in a new issue