From b52e1f106cae71c884ec3f0200dd56ccdd8f53e6 Mon Sep 17 00:00:00 2001 From: Gavin Ridley Date: Sat, 15 Apr 2023 22:35:14 -0400 Subject: [PATCH] const int by value is pointless Co-authored-by: Paul Romano --- src/message_passing.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/message_passing.cpp b/src/message_passing.cpp index 7a43f78f49..1630e52c07 100644 --- a/src/message_passing.cpp +++ b/src/message_passing.cpp @@ -17,7 +17,7 @@ extern "C" bool openmc_master() return mpi::master; } -vector calculate_parallel_index_vector(const int64_t size) +vector calculate_parallel_index_vector(int64_t size) { vector result; result.reserve(n_procs + 1);