fix a compile warning C26478

This commit is contained in:
estshorter
2021-10-09 11:12:58 +09:00
committed by GitHub
parent 177c09f43d
commit dced71224d

View File

@@ -154,7 +154,7 @@ struct sequence<Head, Tail...>
invoke(location& loc) invoke(location& loc)
{ {
const auto first = loc.iter(); const auto first = loc.iter();
const auto rslt = Head::invoke(loc); auto rslt = Head::invoke(loc);
if(rslt.is_err()) if(rslt.is_err())
{ {
loc.reset(first); loc.reset(first);