fixes bug reported by John Maddock. Typo: associative structures have associative members.

[SVN r37762]
This commit is contained in:
Tobias Schwinger
2007-05-24 21:08:34 +00:00
parent d171c25dd2
commit 1bf333a444

View File

@ -56,7 +56,7 @@ namespace boost { namespace fusion { namespace extension
static type&
call(Struct const& struct_)
{
return struct_member<Struct, Key>::call(
return struct_assoc_member<Struct, Key>::call(
const_cast<Struct&>(struct_));
}
};