#include <cstring>
#include <string>
+#include <vector>
#include <simgrid_config.h>
#include <xbt/dynar.h>
const char *src_host = nullptr;
const char *dst_host = nullptr;
std::string rdv;
- ssize_t data_size = 0;
- void *data = nullptr;
+ std::vector<char> data;
int tag = 0;
int index = 0;
{
std::memset(&comm_addr, 0, sizeof(comm_addr));
}
- ~s_mc_comm_pattern()
- {
- xbt_free(this->data);
- }
// No copy:
s_mc_comm_pattern(s_mc_comm_pattern const&) = delete;