]> https://gitweb.dealii.org/ - dealii.git/commit
add [[nodiscard]] to MPI helper functions 18556/head
authorTimo Heister <timo.heister@gmail.com>
Wed, 11 Jun 2025 21:15:29 +0000 (17:15 -0400)
committerTimo Heister <timo.heister@gmail.com>
Wed, 11 Jun 2025 21:15:29 +0000 (17:15 -0400)
commit26d379477841b3d4248ab6fce4339e2c1919f624
tree8d5ebbada63daa85bfccd32197faf27639174947
parent5037bf40bd869ef72f0e053ce1f578b143bb277e
add [[nodiscard]] to MPI helper functions

I forgot to use the return value of Broadcast (assuming it works like
MPI_Bcast). A nodiscard warning would have helped me find this bug
earlier.
include/deal.II/base/mpi.h

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.