summaryrefslogtreecommitdiff
path: root/src/command
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2017-11-26 11:11:36 +0100
committerMax Kellermann <max@musicpd.org>2017-11-26 11:11:36 +0100
commit3b3ec402d69ae4af976e34ac07f725646f9c41a0 (patch)
tree2a2cc9900d280c74b591850ae9fcd8a54487b94d /src/command
parent2b3c1d640ea7f677c9bae4393247e58f907aace5 (diff)
command/CommandListBuilder: use C++11 initializer
Diffstat (limited to 'src/command')
-rw-r--r--src/command/CommandListBuilder.hxx5
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?
*/