diff --git a/include/boost/variant/detail/forced_return.hpp b/include/boost/variant/detail/forced_return.hpp index 7189b34..30fe912 100644 --- a/include/boost/variant/detail/forced_return.hpp +++ b/include/boost/variant/detail/forced_return.hpp @@ -53,7 +53,7 @@ inline T forced_return( BOOST_EXPLICIT_TEMPLATE_TYPE(T) ) } template <> -inline void forced_return( BOOST_EXPLICIT_TEMPLATE_TYPE(void) ) +inline void forced_return( BOOST_EXPLICIT_TEMPLATE_TYPE_SPEC(void) ) { // logical error: should never be here! (see above) BOOST_ASSERT(false);