From 5b572d91acb267fc2376997346f56316bfe9e8be Mon Sep 17 00:00:00 2001 From: Charles Dang Date: Wed, 20 Jan 2021 15:12:02 +1100 Subject: [PATCH] Don't think we actually need this trailing return type --- src/utils/variant.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/variant.hpp b/src/utils/variant.hpp index b69d26d27a26..fb4a92ee9616 100644 --- a/src/utils/variant.hpp +++ b/src/utils/variant.hpp @@ -50,7 +50,7 @@ using boost::variant; using monostate = boost::blank; template -inline auto visit(Args&&... args) -> decltype(boost::apply_visitor(std::forward(args)...)) +inline auto visit(Args&&... args) { return boost::apply_visitor(std::forward(args)...); }