MessPtr Mess::set_dst_data(void** buff, size_t size)
{
xbt_assert(state_ == State::INITED, "You cannot use %s() once your communication started (not implemented)",
- __FUNCTION__);
+ __func__);
dst_buff_ = buff;
dst_buff_size_ = size;
Mess* Mess::do_start()
{
xbt_assert(get_state() == State::INITED || get_state() == State::STARTING,
- "You cannot use %s() once your message exchange has started (not implemented)", __FUNCTION__);
+ "You cannot use %s() once your message exchange has started (not implemented)", __func__);
auto myself = kernel::actor::ActorImpl::self();
if (myself == sender_) {
pimpl_->set_actor(sender_);
// Only throw the signal when both sides are here and the status is READY
if (pimpl_->get_state() != kernel::activity::State::WAITING) {
- fire_on_start();
- fire_on_this_start();
+ fire_on_start();
+ fire_on_this_start();
}
state_ = State::STARTED;
return this;