fix warning regarding braces in initialization

This commit is contained in:
lasconic 2017-02-19 11:00:10 +01:00
parent 586a8e4c50
commit d93ac18985

View file

@ -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