X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/9104957deccc59e0e804215d5db498fabfd40d29..85f2d2b7075a3104ccf23b83f926c0513cac9600:/src/mc/inspect/mc_member.cpp diff --git a/src/mc/inspect/mc_member.cpp b/src/mc/inspect/mc_member.cpp index 77fb82ab48..9e9af73d59 100644 --- a/src/mc/inspect/mc_member.cpp +++ b/src/mc/inspect/mc_member.cpp @@ -1,4 +1,4 @@ -/* Copyright (c) 2014-2020. The SimGrid Team. All rights reserved. */ +/* Copyright (c) 2014-2023. The SimGrid Team. All rights reserved. */ /* 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. */ @@ -7,8 +7,7 @@ #include "src/mc/inspect/mc_dwarf.hpp" #include "src/mc/mc_private.hpp" -namespace simgrid { -namespace dwarf { +namespace simgrid::dwarf { /** Resolve snapshot in the process address space * @@ -22,8 +21,6 @@ void* resolve_member(const void* base, const simgrid::mc::Type* /*type*/, const const simgrid::mc::AddressSpace* address_space) { ExpressionContext state; - state.frame_base = nullptr; - state.cursor = nullptr; state.address_space = address_space; ExpressionStack stack; @@ -32,5 +29,4 @@ void* resolve_member(const void* base, const simgrid::mc::Type* /*type*/, const return (void*)stack.top(); } -} // namespace dwarf -} // namespace simgrid +} // namespace simgrid::dwarf