command/list: reset used size after the list has been processed
This commit is contained in:
parent
e304d0f8ee
commit
a0ef27a0cd
2
NEWS
2
NEWS
|
@ -1,4 +1,6 @@
|
||||||
ver 0.18.15 (not yet released)
|
ver 0.18.15 (not yet released)
|
||||||
|
* command
|
||||||
|
- list: reset used size after the list has been processed
|
||||||
* work around build failure on NetBSD
|
* work around build failure on NetBSD
|
||||||
|
|
||||||
ver 0.18.14 (2014/09/11)
|
ver 0.18.14 (2014/09/11)
|
||||||
|
|
|
@ -27,6 +27,7 @@ void
|
||||||
CommandListBuilder::Reset()
|
CommandListBuilder::Reset()
|
||||||
{
|
{
|
||||||
list.clear();
|
list.clear();
|
||||||
|
size = 0;
|
||||||
mode = Mode::DISABLED;
|
mode = Mode::DISABLED;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue