command/CommandListBuilder: use C++11 initializer
This commit is contained in:
parent
2b3c1d640e
commit
3b3ec402d6
@ -44,7 +44,7 @@ class CommandListBuilder {
|
|||||||
* Enabled in "list_OK" mode.
|
* Enabled in "list_OK" mode.
|
||||||
*/
|
*/
|
||||||
OK = true,
|
OK = true,
|
||||||
} mode;
|
} mode = Mode::DISABLED;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* for when in list mode
|
* for when in list mode
|
||||||
@ -57,9 +57,6 @@ class CommandListBuilder {
|
|||||||
size_t size;
|
size_t size;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
CommandListBuilder()
|
|
||||||
:mode(Mode::DISABLED) {}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Is a command list currently being built?
|
* Is a command list currently being built?
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user