mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
C++11: N2672 Initializer lists
- Modified code to use the more compact and readable initializer lists.
This commit is contained in:
parent
49f7612704
commit
7bbc794d3a
25 changed files with 136 additions and 231 deletions
|
@ -41,12 +41,8 @@ ColumnUUID::ColumnUUID ()
|
|||
_style = "long";
|
||||
_label = STRING_COLUMN_LABEL_UUID;
|
||||
_modifiable = false;
|
||||
|
||||
_styles.push_back ("long");
|
||||
_styles.push_back ("short");
|
||||
|
||||
_examples.push_back ("f30cb9c3-3fc0-483f-bfb2-3bf134f00694");
|
||||
_examples.push_back ("f30cb9c3");
|
||||
_styles = {"long", "short"};
|
||||
_examples = {"f30cb9c3-3fc0-483f-bfb2-3bf134f00694", "f30cb9c3"};
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue