X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/661a8292857baad7532e8c081e30455c510f2ad8..371d168e21b83e2364c2ac2dbff3847588769c2b:/src/smpi/mpi/smpi_f2c.cpp diff --git a/src/smpi/mpi/smpi_f2c.cpp b/src/smpi/mpi/smpi_f2c.cpp index bdec55b5a2..a1e6be788b 100644 --- a/src/smpi/mpi/smpi_f2c.cpp +++ b/src/smpi/mpi/smpi_f2c.cpp @@ -25,7 +25,7 @@ F2C::F2C() = default; int F2C::add_f() { allocate_lookup(); - if (auto loc = smpi_process()->call_location(); loc && loc->linenumber != 0) + if (auto const* loc = smpi_process()->call_location(); loc && loc->linenumber != 0) call_location_= std::string (loc->filename + ":" + std::to_string(loc->linenumber)); my_f2c_id_ = global_f2c_id(); (*f2c_lookup_)[my_f2c_id_] = this;