X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/ce930ad96b622e2b3856b7d9c3d97e60ec2c93a1..ac080087b39ef79ff497d3992ff04b3e20fe40b2:/include/simgrid/s4u/Comm.hpp diff --git a/include/simgrid/s4u/Comm.hpp b/include/simgrid/s4u/Comm.hpp index 612266e7da..153be7e069 100644 --- a/include/simgrid/s4u/Comm.hpp +++ b/include/simgrid/s4u/Comm.hpp @@ -9,7 +9,6 @@ #include #include -#include #include #include @@ -29,7 +28,6 @@ class XBT_PUBLIC Comm : public Activity_T { void* src_buff_ = nullptr; size_t src_buff_size_ = sizeof(void*); std::string tracing_category_ = ""; - std::atomic_int_fast32_t refcount_{0}; /* FIXME: expose these elements in the API */ bool detached_ = false; int (*match_fun_)(void*, void*, kernel::activity::CommImpl*) = nullptr; @@ -40,8 +38,6 @@ class XBT_PUBLIC Comm : public Activity_T { public: #ifndef DOXYGEN - friend XBT_PUBLIC void intrusive_ptr_release(Comm* c); - friend XBT_PUBLIC void intrusive_ptr_add_ref(Comm* c); friend Mailbox; // Factory of comms #endif