From 65c2c3c23815b245528255d0424c459e18053040 Mon Sep 17 00:00:00 2001 From: ToruNiina Date: Mon, 18 Mar 2019 10:53:04 +0900 Subject: [PATCH] fix: correctly deduce return value of visitor --- toml/value.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/toml/value.hpp b/toml/value.hpp index a7f1f59..340396f 100644 --- a/toml/value.hpp +++ b/toml/value.hpp @@ -930,7 +930,7 @@ visit(Visitor&& visitor, toml::value& v) } template -detail::return_type_of_t +detail::return_type_of_t visit(Visitor&& visitor, toml::value&& v) { switch(v.type())