From dced71224daa415989e83a5e0cb456be4b4f5d9d Mon Sep 17 00:00:00 2001 From: estshorter <1430311+estshorter@users.noreply.github.com> Date: Sat, 9 Oct 2021 11:12:58 +0900 Subject: [PATCH] fix a compile warning C26478 --- toml/combinator.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/toml/combinator.hpp b/toml/combinator.hpp index 5d86c19..33ecca1 100644 --- a/toml/combinator.hpp +++ b/toml/combinator.hpp @@ -154,7 +154,7 @@ struct sequence invoke(location& loc) { const auto first = loc.iter(); - const auto rslt = Head::invoke(loc); + auto rslt = Head::invoke(loc); if(rslt.is_err()) { loc.reset(first);