Merge pull request #181 from boostorg/init-and-paren

Fixed misused parenthesized initializer
This commit is contained in:
Kohei Takahashi
2018-05-13 20:40:25 +09:00
committed by GitHub

View File

@ -19,7 +19,7 @@ void unused_construction()
{
boost::fusion::unused_type dephault;
boost::fusion::unused_type BOOST_ATTRIBUTE_UNUSED parenthesis();
boost::fusion::unused_type BOOST_ATTRIBUTE_UNUSED parenthesis = boost::fusion::unused_type();
#ifndef BOOST_NO_CXX11_UNIFIED_INITIALIZATION_SYNTAX
boost::fusion::unused_type BOOST_ATTRIBUTE_UNUSED brace{};
boost::fusion::unused_type BOOST_ATTRIBUTE_UNUSED list_copy = {};