Commit 6424ac22 authored by neverlord's avatar neverlord

gcc47 test

parent 196b8080
......@@ -28,11 +28,26 @@ using namespace cppa;
struct event_testee : public fsm_actor<event_testee>
{
behavior* w4str()
{
return &wait4string;
}
behavior* w4float()
{
return &wait4float;
}
behavior* w4int()
{
return &init_state;
}
behavior wait4string =
(
on<std::string>() >> [this]()
{
become(&init_state);
become(w4int());
},
on<atom("GetState")>() >> [=]()
{
......@@ -44,7 +59,7 @@ struct event_testee : public fsm_actor<event_testee>
(
on<float>() >> [=]()
{
become(&wait4string);
become(w4str());
},
on<atom("GetState")>() >> [=]()
{
......@@ -56,7 +71,7 @@ struct event_testee : public fsm_actor<event_testee>
(
on<int>() >> [=]()
{
become(&wait4float);
become(w4float());
},
on<atom("GetState")>() >> [=]()
{
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment