command/CommandListBuilder: use C++11 initializer

This commit is contained in:
Max Kellermann 2017-11-26 11:11:36 +01:00
parent 2b3c1d640e
commit 3b3ec402d6
1 changed files with 1 additions and 4 deletions

View File

@ -44,7 +44,7 @@ class CommandListBuilder {
* Enabled in "list_OK" mode.
*/
OK = true,
} mode;
} mode = Mode::DISABLED;
/**
* for when in list mode
@ -57,9 +57,6 @@ class CommandListBuilder {
size_t size;
public:
CommandListBuilder()
:mode(Mode::DISABLED) {}
/**
* Is a command list currently being built?
*/