Fixes #8480. Thanks for the patch!

svn path=/trunk/boost/statechart/; revision=84715