Skip to content

Commit

Permalink
Fix compile error on clang
Browse files Browse the repository at this point in the history
  • Loading branch information
pfultz2 committed Feb 27, 2018
1 parent d740d10 commit 9419f62
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/unpack.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@ static constexpr boost::hof::static_<boost::hof::unpack_adaptor<unary_class> > u
static constexpr boost::hof::static_<boost::hof::unpack_adaptor<binary_class> > binary_unpack = {};

BOOST_HOF_STATIC_AUTO unary_unpack_constexpr = boost::hof::unpack_adaptor<unary_class>();
#if BOOST_HOF_HAS_CONSTEXPR_TUPLE
BOOST_HOF_STATIC_AUTO binary_unpack_constexpr = boost::hof::unpack_adaptor<binary_class>();
#endif

BOOST_HOF_STATIC_AUTO unary_unpack_reveal = boost::hof::reveal_adaptor<boost::hof::unpack_adaptor<unary_class>>();
BOOST_HOF_STATIC_AUTO binary_unpack_reveal = boost::hof::reveal_adaptor<boost::hof::unpack_adaptor<binary_class>>();
Expand Down

0 comments on commit 9419f62

Please sign in to comment.