From 970f6b86abcc928064341baf688313fc0a051660 Mon Sep 17 00:00:00 2001 From: Christian Heinrich Date: Tue, 10 Apr 2018 08:28:56 +0200 Subject: [PATCH] [SMPI] Replay: Cosmetics. (Align '\' in a macro) --- src/smpi/internals/smpi_replay.cpp | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/src/smpi/internals/smpi_replay.cpp b/src/smpi/internals/smpi_replay.cpp index 0258665e3c..de586295a7 100644 --- a/src/smpi/internals/smpi_replay.cpp +++ b/src/smpi/internals/smpi_replay.cpp @@ -29,18 +29,19 @@ static MPI_Datatype MPI_DEFAULT_TYPE; #define CHECK_ACTION_PARAMS(action, mandatory, optional) \ { \ - if (action.size() < static_cast(mandatory + 2)) { \ - std::stringstream ss; \ - for (const auto& elem : action) { \ - ss << elem << " "; \ - } \ + if (action.size() < static_cast(mandatory + 2)) { \ + std::stringstream ss; \ + for (const auto& elem : action) { \ + ss << elem << " "; \ + } \ THROWF(arg_error, 0, "%s replay failed.\n" \ "%zu items were given on the line. First two should be process_id and action. " \ "This action needs after them %lu mandatory arguments, and accepts %lu optional ones. \n" \ - "The full line that was given is:\n %s\n" \ + "The full line that was given is:\n %s\n" \ "Please contact the Simgrid team if support is needed", \ - __func__, action.size(), static_cast(mandatory), static_cast(optional), ss.str().c_str()); \ - }\ + __func__, action.size(), static_cast(mandatory), static_cast(optional), \ + ss.str().c_str()); \ + } \ } static void log_timed_action(simgrid::xbt::ReplayAction& action, double clock) -- 2.20.1