0
0
Fork 0
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:
Jason Volk 2017-11-06 12:27:24 -08:00
parent 0df7ad850f
commit b172fd5739

View file

@ -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)));