diff options
Diffstat (limited to 'src/command/CommandListBuilder.hxx')
-rw-r--r-- | src/command/CommandListBuilder.hxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/command/CommandListBuilder.hxx b/src/command/CommandListBuilder.hxx index d2ca9d914..9908121d6 100644 --- a/src/command/CommandListBuilder.hxx +++ b/src/command/CommandListBuilder.hxx @@ -58,7 +58,7 @@ class CommandListBuilder { public: CommandListBuilder() - :mode(Mode::DISABLED), size(0) {} + :mode(Mode::DISABLED) {} /** * Is a command list currently being built? @@ -89,6 +89,7 @@ public: assert(mode == Mode::DISABLED); mode = (Mode)ok; + size = 0; } /** |