Skip to content

Commit

Permalink
Don't think we actually need this trailing return type
Browse files Browse the repository at this point in the history
  • Loading branch information
Vultraz committed Jan 20, 2021
1 parent 6c6e099 commit 5b572d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/variant.hpp
Expand Up @@ -50,7 +50,7 @@ using boost::variant;
using monostate = boost::blank;

template<typename... Args>
inline auto visit(Args&&... args) -> decltype(boost::apply_visitor(std::forward<Args>(args)...))
inline auto visit(Args&&... args)
{
return boost::apply_visitor(std::forward<Args>(args)...);
}
Expand Down

0 comments on commit 5b572d9

Please sign in to comment.