From: Christian Heinrich Date: Mon, 4 Jun 2018 09:06:05 +0000 (+0200) Subject: [SMPI] Replay: Move XBT_LOG_NEW_... statement to the top X-Git-Tag: v3.20~47 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/38417630520d2fd98cccab8834037ff19535dcd8?ds=sidebyside [SMPI] Replay: Move XBT_LOG_NEW_... statement to the top --- diff --git a/src/smpi/internals/smpi_replay.cpp b/src/smpi/internals/smpi_replay.cpp index 94845f41bb..5c1d5ad3d4 100644 --- a/src/smpi/internals/smpi_replay.cpp +++ b/src/smpi/internals/smpi_replay.cpp @@ -18,6 +18,9 @@ #include #include + +XBT_LOG_NEW_DEFAULT_SUBCATEGORY(smpi_replay, smpi, "Trace Replay with SMPI"); + // From https://stackoverflow.com/questions/7110301/generic-hash-for-tuples-in-unordered-map-unordered-set // This is all just to make std::unordered_map work with std::tuple. If we need this in other places, // this could go into a header file. @@ -58,8 +61,6 @@ public: }; } -XBT_LOG_NEW_DEFAULT_SUBCATEGORY(smpi_replay,smpi,"Trace Replay with SMPI"); - typedef std::tuple req_key_t; typedef std::unordered_map>> req_storage_t;