diff --git a/src/Pstream/mpi/UPstream.C b/src/Pstream/mpi/UPstream.C
index a0d453306..51306bf7f 100644
--- a/src/Pstream/mpi/UPstream.C
+++ b/src/Pstream/mpi/UPstream.C
@@ -21,6 +21,10 @@ License
You should have received a copy of the GNU General Public License
along with OpenFOAM. If not, see .
+Note
+ The const_cast used in this file is a temporary hack for to work around
+ bugs in OpenMPI for versions < 1.7.4
+
\*---------------------------------------------------------------------------*/
#include "UPstream.H"
@@ -332,8 +336,6 @@ void Foam::UPstream::allToAll
(
MPI_Alltoall
(
- // NOTE: const_cast is a temporary hack for
- // backward-compatibility with versions of OpenMPI < 1.7.4
const_cast