diff --git a/src/command/CommandListBuilder.hxx b/src/command/CommandListBuilder.hxx index a8fa4b5c5..051f9160d 100644 --- a/src/command/CommandListBuilder.hxx +++ b/src/command/CommandListBuilder.hxx @@ -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? */