X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/5bed0cb4d76f77afbc7f4a09cbced8a4a99c4d19..9692d43fa911bdc2d6d0263a3cb3e22d5e3167fe:/src/mc/mc_member.cpp diff --git a/src/mc/mc_member.cpp b/src/mc/mc_member.cpp index 683f82f9ca..8ce5366117 100644 --- a/src/mc/mc_member.cpp +++ b/src/mc/mc_member.cpp @@ -4,14 +4,10 @@ /* This program is free software; you can redistribute it and/or modify it * under the terms of the license (GNU LGPL) which comes with this package. */ -#include - -#include "src/mc/mc_object_info.h" #include "src/mc/mc_private.h" #include "src/mc/Type.hpp" #include "src/mc/mc_dwarf.hpp" - namespace simgrid { namespace dwarf { @@ -20,7 +16,7 @@ namespace dwarf { * @param object Process address of the struct/class * @param type Type of the struct/class * @param member Member description - * @param snapshot Snapshot (or NULL) + * @param snapshot Snapshot (or nullptr) * @return Process address of the given member of the 'object' struct/class */ void *resolve_member( @@ -32,8 +28,8 @@ void *resolve_member( return ((char *) base) + member->offset(); ExpressionContext state; - state.frame_base = NULL; - state.cursor = NULL; + state.frame_base = nullptr; + state.cursor = nullptr; state.address_space = address_space; state.process_index = process_index;