aboutsummaryrefslogtreecommitdiff
path: root/Source/ablastr/utils/msg_logger/MsgLogger.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/ablastr/utils/msg_logger/MsgLogger.cpp')
-rw-r--r--Source/ablastr/utils/msg_logger/MsgLogger.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/ablastr/utils/msg_logger/MsgLogger.cpp b/Source/ablastr/utils/msg_logger/MsgLogger.cpp
index 80787adc5..6b141c33b 100644
--- a/Source/ablastr/utils/msg_logger/MsgLogger.cpp
+++ b/Source/ablastr/utils/msg_logger/MsgLogger.cpp
@@ -353,6 +353,7 @@ Logger::compute_msgs_with_counter_and_ranks(
std::vector<MsgWithCounterAndRanks> msgs_with_counter_and_ranks;
// Put messages of the gather rank in msgs_with_counter_and_ranks
+ msgs_with_counter_and_ranks.reserve(my_msg_map.size());
for (const auto& el : my_msg_map)
{
msgs_with_counter_and_ranks.emplace_back(