Use BOOST_CONSTEXPR_OR_CONST instead.

Older GCC cannot specify both of const and constexpr to variable decl.

Partially fix #11517
This commit is contained in:
Kohei Takahashi
2015-08-02 21:58:20 +09:00
parent e37fd170ce
commit 24f527d401
2 changed files with 2 additions and 2 deletions

View File

@ -27,7 +27,7 @@ namespace boost { namespace fusion
}
// "ignore" allows tuple positions to be ignored when using "tie".
BOOST_CONSTEXPR detail::swallow_assign const ignore = detail::swallow_assign();
BOOST_CONSTEXPR_OR_CONST detail::swallow_assign ignore = detail::swallow_assign();
}}
#endif

View File

@ -64,7 +64,7 @@ namespace boost { namespace fusion
}
};
BOOST_CONSTEXPR unused_type const unused = unused_type();
BOOST_CONSTEXPR_OR_CONST unused_type unused = unused_type();
namespace detail
{