mirror of
https://github.com/boostorg/statechart.git
synced 2026-01-21 17:32:16 +00:00
Reactions are now specified with a reactions member typedef in a state class declaration instead of a template parameter
[SVN r28848]
This commit is contained in:
@@ -260,15 +260,15 @@ struct FlipTransitionList
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////////
|
||||
template< unsigned int stateNo >
|
||||
struct BitState :
|
||||
sc::simple_state< BitState< stateNo >, BitMachine,
|
||||
typename FlipTransitionList< stateNo >::type >,
|
||||
struct BitState : sc::simple_state< BitState< stateNo >, BitMachine >,
|
||||
#ifdef CUSTOMIZE_MEMORY_MANAGEMENT
|
||||
IDisplay, UniqueObject< BitState< stateNo > >
|
||||
#else
|
||||
IDisplay
|
||||
#endif
|
||||
{
|
||||
typedef typename FlipTransitionList< stateNo >::type reactions;
|
||||
|
||||
virtual void Display() const
|
||||
{
|
||||
DisplayBits( stateNo );
|
||||
|
||||
Reference in New Issue
Block a user