X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/15d081936b7593ffc9f6c9986bd7d27da6ce668d..ce87516da629c9b6a350d8c28f806926863aa94a:/src/instr/instr_smpi.hpp diff --git a/src/instr/instr_smpi.hpp b/src/instr/instr_smpi.hpp index 1a9ecf9d7c..910f702f83 100644 --- a/src/instr/instr_smpi.hpp +++ b/src/instr/instr_smpi.hpp @@ -20,7 +20,7 @@ XBT_PRIVATE void TRACE_smpi_comm_in(int rank, const char* operation, simgrid::in XBT_PRIVATE void TRACE_smpi_comm_out(int rank); XBT_PRIVATE void TRACE_smpi_send(int rank, int src, int dst, int tag, int size); XBT_PRIVATE void TRACE_smpi_recv(int src, int dst, int tag); -XBT_PRIVATE void TRACE_smpi_init(int rank, std::string calling_func); +XBT_PRIVATE void TRACE_smpi_init(int rank, const std::string& calling_func); /* SMPI + LB (load balancer) */ XBT_PRIVATE void TRACE_smpi_process_change_host(int rank, const_sg_host_t new_host); @@ -33,7 +33,7 @@ public: std::string previous_filename; int previous_linenumber; - std::string get_composed_key() + std::string get_composed_key() const { return previous_filename + ':' + std::to_string(previous_linenumber) + ':' + filename + ':' + std::to_string(linenumber);