Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Make Activity::on_completion take a const&, just like Comm::on_completion
authorMartin Quinson <martin.quinson@ens-rennes.fr>
Sat, 22 Jan 2022 14:32:31 +0000 (15:32 +0100)
committerMartin Quinson <martin.quinson@ens-rennes.fr>
Sat, 22 Jan 2022 14:32:31 +0000 (15:32 +0100)
commit796316bf352eff268ab43755b49631a76f79c014
treee7c08668fd8673036820e55b44cd8591c30ab079
parent15178c7908a80843a430025313d143b7cb52d06a
Make Activity::on_completion take a const&, just like Comm::on_completion

I think it's dangerous to have a static function of the same name and
differing prototype in a subclass, even more if the only difference is
the parameter const-ness.
examples/cpp/dag-comm/s4u-dag-comm.cpp
examples/cpp/dag-failure/s4u-dag-failure.cpp
examples/cpp/dag-io/s4u-dag-io.cpp
examples/cpp/dag-scheduling/s4u-dag-scheduling.cpp
examples/cpp/dag-simple/s4u-dag-simple.cpp
include/simgrid/s4u/Activity.hpp
src/kernel/resource/VirtualMachineImpl.cpp
src/plugins/host_dvfs.cpp
src/plugins/host_load.cpp
teshsuite/s4u/dependencies/dependencies.cpp