diff -rub boost_1_45_0_old/boost/msm/back/state_machine.hpp boost_1_45_0/boost/msm/back/state_machine.hpp
old
|
new
|
|
1407 | 1407 | } |
1408 | 1408 | // handling of deferred events |
1409 | 1409 | // if none is found in the SM, take the following empty main version |
1410 | | template <class StateType, class Enable = void> |
| 1410 | template <class StateType, class Enable = int> |
1411 | 1411 | struct handle_defer_helper |
1412 | 1412 | { |
1413 | 1413 | handle_defer_helper(deferred_msg_queue_helper<library_sm>& ){} |
… |
… |
|
1422 | 1422 | // otherwise the standard version handling the deferred events |
1423 | 1423 | template <class StateType> |
1424 | 1424 | struct handle_defer_helper |
1425 | | <StateType, typename enable_if< typename ::boost::msm::back::has_fsm_deferred_events<StateType>::type >::type> |
| 1425 | <StateType, typename enable_if< typename ::boost::msm::back::has_fsm_deferred_events<StateType>::type, int >::type> |
1426 | 1426 | { |
1427 | 1427 | handle_defer_helper(deferred_msg_queue_helper<library_sm>& a_queue): |
1428 | 1428 | events_queue(a_queue),next_deferred_event(){} |