X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/39c935d6d5ee86d153f6f7e6a10d723ae7c57f6f..f8346a6195a32e6329ce5b0526d1765d075c8304:/src/mc/mc_hash.cpp diff --git a/src/mc/mc_hash.cpp b/src/mc/mc_hash.cpp index af534aced6..8b667d00e2 100644 --- a/src/mc/mc_hash.cpp +++ b/src/mc/mc_hash.cpp @@ -1,4 +1,4 @@ -/* Copyright (c) 2014-2021. The SimGrid Team. All rights reserved. */ +/* Copyright (c) 2014-2022. 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. */ @@ -16,8 +16,7 @@ XBT_LOG_NEW_DEFAULT_SUBCATEGORY(mc_hash, mc, "Logging specific to mc_hash"); -namespace simgrid { -namespace mc { +namespace simgrid::mc { namespace { @@ -37,7 +36,7 @@ public: hash_type hash(Snapshot const& snapshot) { - XBT_DEBUG("START hash %i", snapshot.num_state_); + XBT_DEBUG("START hash %ld", snapshot.num_state_); djb_hash hash; // TODO: // * nb_processes @@ -45,9 +44,8 @@ hash_type hash(Snapshot const& snapshot) // * root variables // * basic stack frame information // * stack frame local variables - XBT_DEBUG("END hash %i", snapshot.num_state_); + XBT_DEBUG("END hash %ld", snapshot.num_state_); return hash.value(); } -} -} +} // namespace simgrid::mc