Fix use of non-static "obj" in unevaluated expression context of decltype.

This commit is contained in:
Damien Buhl (alias daminetreg)
2014-11-18 23:39:53 +01:00
parent b5018586aa
commit bc07cac46c
2 changed files with 16 additions and 10 deletions

View File

@ -49,7 +49,6 @@
\
struct deduced_attr_type { \
static const BOOST_FUSION_ADAPT_STRUCT_UNPACK_NAME(NAME_SEQ)& obj; \
const BOOST_FUSION_ADAPT_STRUCT_UNPACK_NAME(NAME_SEQ)& obj; \
typedef BOOST_TYPEOF( \
PREFIX() BOOST_FUSION_ADAPT_ADT_ATTRIBUTE_GETEXPR( \
ATTRIBUTE, ATTRIBUTE_TUPEL_SIZE, 1)) type; \