X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/c27e00a13208f33b2df33ef93e12f9ada54bb0d2..9692d43fa911bdc2d6d0263a3cb3e22d5e3167fe:/src/mc/mc_member.cpp diff --git a/src/mc/mc_member.cpp b/src/mc/mc_member.cpp index e709912500..8ce5366117 100644 --- a/src/mc/mc_member.cpp +++ b/src/mc/mc_member.cpp @@ -4,13 +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_private.h" #include "src/mc/Type.hpp" #include "src/mc/mc_dwarf.hpp" - namespace simgrid { namespace dwarf { @@ -19,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( @@ -31,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;