From 3b3ec402d69ae4af976e34ac07f725646f9c41a0 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sun, 26 Nov 2017 11:11:36 +0100 Subject: [PATCH] command/CommandListBuilder: use C++11 initializer --- src/command/CommandListBuilder.hxx | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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? */