aboutsummaryrefslogtreecommitdiff
path: root/Source/ablastr/utils/msg_logger/MsgLogger.cpp
diff options
context:
space:
mode:
authorGravatar Luca Fedeli <luca.fedeli@cea.fr> 2023-08-30 03:36:46 +0200
committerGravatar GitHub <noreply@github.com> 2023-08-29 18:36:46 -0700
commit3f95ac68a1d7cf764f58e360ae9b4c43e5913095 (patch)
tree5da34d67f9fcdf0086d73e077b677ccf9b870541 /Source/ablastr/utils/msg_logger/MsgLogger.cpp
parent71432aac4ef37b0c3476a2af2255140af3188669 (diff)
downloadWarpX-3f95ac68a1d7cf764f58e360ae9b4c43e5913095.tar.gz
WarpX-3f95ac68a1d7cf764f58e360ae9b4c43e5913095.tar.zst
WarpX-3f95ac68a1d7cf764f58e360ae9b4c43e5913095.zip
Clang tidy CI test: add more readability checks to clang tidy CI test (#4146)
* add more readability checks to clang-tidy CI test * reformat check list * starting to address issues found with clang-tidy£ * addressing issues * remove check * address issues * address all issues * address issue found with github code scanning
Diffstat (limited to 'Source/ablastr/utils/msg_logger/MsgLogger.cpp')
-rw-r--r--Source/ablastr/utils/msg_logger/MsgLogger.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/Source/ablastr/utils/msg_logger/MsgLogger.cpp b/Source/ablastr/utils/msg_logger/MsgLogger.cpp
index f06a35eda..4ba36ee82 100644
--- a/Source/ablastr/utils/msg_logger/MsgLogger.cpp
+++ b/Source/ablastr/utils/msg_logger/MsgLogger.cpp
@@ -38,8 +38,8 @@ namespace
std::vector<char>
get_serialized_gather_rank_msgs(
const std::vector<Msg>& my_msgs,
- const int gather_rank,
- const int my_rank);
+ int gather_rank,
+ int my_rank);
/**
* \brief This function generates data to send back to the "gather rank"
@@ -53,9 +53,9 @@ namespace
std::vector<char>
compute_package_for_gather_rank(
const std::vector<char>& serialized_gather_rank_msgs,
- const std::int64_t gather_rank_how_many_msgs,
+ std::int64_t gather_rank_how_many_msgs,
const std::map<Msg, std::int64_t>& my_msg_map,
- const bool is_gather_rank
+ bool is_gather_rank
);
/**
@@ -74,7 +74,7 @@ namespace
std::pair<std::vector<char>, std::vector<int>>
gather_all_data(
const std::vector<char>& package_for_gather_rank,
- const int gather_rank, const int my_rank);
+ int gather_rank, int my_rank);
/**
* \brief This function converts a vector of Msg struct into a byte array