X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/7bc01999f5003e51cc1d12f93647999a1a143f23..35d84011da1f114490d6eb4d77e214edf56c810f:/src/mc/ObjectInformation.hpp diff --git a/src/mc/ObjectInformation.hpp b/src/mc/ObjectInformation.hpp index e65d9d35fb..21ed47157a 100644 --- a/src/mc/ObjectInformation.hpp +++ b/src/mc/ObjectInformation.hpp @@ -12,7 +12,7 @@ #include #include -#include +#include "xbt/base.h" #include "src/xbt/memory_map.hpp" #include "src/mc/mc_forward.hpp" @@ -52,7 +52,7 @@ struct FunctionIndexEntry { */ class ObjectInformation { public: - ObjectInformation(); + ObjectInformation() = default; // Not copyable: ObjectInformation(ObjectInformation const&) = delete; @@ -83,7 +83,7 @@ public: * * We need to efficiently find the function from any given instruction * address inside its range. This index is sorted by low_pc - * + * * The entries are sorted by low_pc and a binary search can be used to look * them up. In order to have a better cache locality, we only keep the * information we need for the lookup in this vector. We could probably @@ -165,9 +165,7 @@ XBT_PRIVATE std::shared_ptr createObjectInformation( std::vector const& maps, const char* name); /** Augment the current module with informations about the other ones */ -XBT_PRIVATE void postProcessObjectInformation( - simgrid::mc::Process* process, simgrid::mc::ObjectInformation* info); - +XBT_PRIVATE void postProcessObjectInformation(simgrid::mc::RemoteClient* process, simgrid::mc::ObjectInformation* info); } }