X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/72d32c4e88a57f4786f62fec48a1bfa454adbff9..ace6ec5d4b81b85275732c9ba244d358ddc30107:/src/instr/instr_paje_types.cpp diff --git a/src/instr/instr_paje_types.cpp b/src/instr/instr_paje_types.cpp index d5658efb7d..1e4c912f2e 100644 --- a/src/instr/instr_paje_types.cpp +++ b/src/instr/instr_paje_types.cpp @@ -1,4 +1,4 @@ -/* Copyright (c) 2012-2022. The SimGrid Team. +/* Copyright (c) 2012-2023. The SimGrid Team. * All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it @@ -68,7 +68,7 @@ void VariableType::instr_event(double now, double delta, const char* resource, d // create a key considering the resource and variable, and check if key exists in the global map: // if it doesn't, set the variable to zero. if (static std::set> platform_variables; - platform_variables.emplace(std::string(resource) + get_name()).second) + platform_variables.emplace(resource + get_name()).second) set_event(now, 0); add_event(now, value);