Commit 3b3ec402 authored by Max Kellermann's avatar Max Kellermann

command/CommandListBuilder: use C++11 initializer

parent 2b3c1d64
......@@ -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?
*/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment