Skip to content

Commit

Permalink
Merge pull request #181 from boostorg/init-and-paren
Browse files Browse the repository at this point in the history
Fixed misused parenthesized initializer
  • Loading branch information
Flast committed May 13, 2018
2 parents 98b96c3 + d832387 commit afb8b15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/support/unused.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {};
Expand Down

0 comments on commit afb8b15

Please sign in to comment.