Commit bc950094 authored by Dominik Charousset's avatar Dominik Charousset

removed redundant code

parent 622b22b9
......@@ -68,7 +68,7 @@ class scheduled_actor;
* @brief A base class for cooperatively scheduled actors.
* @extends local_actor
*/
class scheduled_actor : public extend<local_actor>::with<mailbox_based>{
class scheduled_actor : public extend<local_actor>::with<mailbox_based> {
typedef combined_type super;
......@@ -163,11 +163,6 @@ class scheduled_actor : public extend<local_actor>::with<mailbox_based>{
actor_state compare_exchange_state(actor_state expected, actor_state desired);
template<typename... Ts>
inline mailbox_element* new_mailbox_element(Ts&&... args) {
return mailbox_element::create(std::forward<Ts>(args)...);
}
inline void set_state(actor_state new_value) {
m_state.store(new_value);
}
......
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