mirror of
https://github.com/matrix-construct/construct
synced 2024-11-29 10:12:39 +01:00
ircd::fmt: Assert for not finished before loop break.
This commit is contained in:
parent
0df7ad850f
commit
b172fd5739
1 changed files with 1 additions and 0 deletions
|
@ -293,6 +293,7 @@ try
|
|||
auto it(begin(v));
|
||||
for(size_t i(0); i < v.size(); ++it, i++)
|
||||
{
|
||||
assert(!finished());
|
||||
const auto &ptr(get<0>(*it));
|
||||
const auto &type(get<1>(*it));
|
||||
argument(std::make_tuple(ptr, std::type_index(*type)));
|
||||
|
|
Loading…
Reference in a new issue