From 6d0c5eb0507399603dce625025d2400831c8dffa Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Sun, 9 Jan 2022 12:02:22 -0700 Subject: [PATCH] Augment the documentation of a member variable. --- include/deal.II/base/mpi_consensus_algorithms.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/include/deal.II/base/mpi_consensus_algorithms.h b/include/deal.II/base/mpi_consensus_algorithms.h index 814bc1610e..62beefe7ef 100644 --- a/include/deal.II/base/mpi_consensus_algorithms.h +++ b/include/deal.II/base/mpi_consensus_algorithms.h @@ -329,7 +329,11 @@ namespace Utilities std::vector recv_requests; /** - * Buffers for sending answers to requests. + * Buffers for sending answers to requests. We use a vector of + * pointers because that guarantees that the buffers themselves + * are newer moved around in memory, even if the vector is + * resized and consequently its elements (the pointers) are moved + * around. */ std::vector>> request_buffers; -- 2.39.5