X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/0e8603d2d56c545fae09fad07d2312450e305470..7f2b1b735c94c604996643f6c915d6209b0db958:/src/kernel/actor/CommObserver.hpp diff --git a/src/kernel/actor/CommObserver.hpp b/src/kernel/actor/CommObserver.hpp index 6647d430cb..0fbd7973eb 100644 --- a/src/kernel/actor/CommObserver.hpp +++ b/src/kernel/actor/CommObserver.hpp @@ -95,12 +95,13 @@ class CommIsendSimcall final : public SimcallObserver { bool detached_; activity::CommImpl* comm_ = {}; int tag_ = {}; - std::string fun_call_; std::function match_fun_; std::function clean_fun_; // used to free the synchro in case of problem after a detached send std::function copy_data_fun_; // used to copy data if not default one + std::string fun_call_; + public: CommIsendSimcall( ActorImpl* actor, activity::MailboxImpl* mbox, double payload_size, double rate, unsigned char* src_buff, @@ -148,11 +149,12 @@ class CommIrecvSimcall final : public SimcallObserver { double rate_; activity::CommImpl* comm_ = {}; int tag_ = {}; - std::string fun_call_; std::function match_fun_; std::function copy_data_fun_; // used to copy data if not default one + std::string fun_call_; + public: CommIrecvSimcall(ActorImpl* actor, activity::MailboxImpl* mbox, unsigned char* dst_buff, size_t* dst_buff_size, const std::function& match_fun,