diff options
author | Max Kellermann <max@musicpd.org> | 2017-11-26 11:11:36 +0100 |
---|---|---|
committer | Max Kellermann <max@musicpd.org> | 2017-11-26 11:11:36 +0100 |
commit | 3b3ec402d69ae4af976e34ac07f725646f9c41a0 (patch) | |
tree | 2a2cc9900d280c74b591850ae9fcd8a54487b94d /src/command | |
parent | 2b3c1d640ea7f677c9bae4393247e58f907aace5 (diff) |
command/CommandListBuilder: use C++11 initializer
Diffstat (limited to 'src/command')
-rw-r--r-- | src/command/CommandListBuilder.hxx | 5 |
1 files changed, 1 insertions, 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? */ |