X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/fcf33975379cd050a6d70b94ae7857910dd01217..4c753f8d4cabd4104f3f7109823f16be2ebdcce3:/src/kernel/actor/SimcallObserver.cpp diff --git a/src/kernel/actor/SimcallObserver.cpp b/src/kernel/actor/SimcallObserver.cpp index 0246d5a324..162653dcc6 100644 --- a/src/kernel/actor/SimcallObserver.cpp +++ b/src/kernel/actor/SimcallObserver.cpp @@ -23,7 +23,7 @@ void RandomSimcall::serialize(std::stringstream& stream) const } std::string RandomSimcall::to_string() const { - return std::string("Random(min:") + std::to_string(min_) + " max:" + std::to_string(max_) + ")"; + return "Random(min:" + std::to_string(min_) + " max:" + std::to_string(max_) + ")"; } void RandomSimcall::prepare(int times_considered) @@ -69,7 +69,7 @@ void ActorJoinSimcall::serialize(std::stringstream& stream) const } std::string ActorJoinSimcall::to_string() const { - return std::string("ActorJoin(pid:") + std::to_string(other_->get_pid()) + ")"; + return "ActorJoin(pid:" + std::to_string(other_->get_pid()) + ")"; } void ObjectAccessSimcallObserver::serialize(std::stringstream& stream) const @@ -79,7 +79,7 @@ void ObjectAccessSimcallObserver::serialize(std::stringstream& stream) const } std::string ObjectAccessSimcallObserver::to_string() const { - return std::string("ObjectAccess(obj:") + ptr_to_id(object_) + + return "ObjectAccess(obj:" + ptr_to_id(object_) + " owner:" + std::to_string(get_owner()->get_pid()) + ")"; } bool ObjectAccessSimcallObserver::is_visible() const