C++11: N2672 Initializer lists
- Modified code to use the more compact and readable initializer lists.
This commit is contained in:
@@ -41,10 +41,8 @@ ColumnMask::ColumnMask ()
|
||||
_style = "default";
|
||||
_label = STRING_COLUMN_LABEL_MASK;
|
||||
_modifiable = false;
|
||||
|
||||
_styles.push_back ("default");
|
||||
|
||||
_examples.push_back ("++++---");
|
||||
_styles = {"default"};
|
||||
_examples = {"++++---"};
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
Reference in New Issue
Block a user