diff options
author | Erik Schnetter <schnetter@gmail.com> | 2013-10-22 21:53:20 -0400 |
---|---|---|
committer | Erik Schnetter <schnetter@gmail.com> | 2013-10-22 21:53:20 -0400 |
commit | 63c7615a27857f00a602b6ab5ccff2cc512bf503 (patch) | |
tree | 9bd6e355a8fbed05227970667562f896066a2b7f | |
parent | 666a5538cfde2a95339e5e9155e00457fd4b0185 (diff) |
CarpetInter2: Avoid const warnings
-rw-r--r-- | Carpet/CarpetInterp2/src/fasterp.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Carpet/CarpetInterp2/src/fasterp.cc b/Carpet/CarpetInterp2/src/fasterp.cc index 512f2b718..00cf94f7c 100644 --- a/Carpet/CarpetInterp2/src/fasterp.cc +++ b/Carpet/CarpetInterp2/src/fasterp.cc @@ -1107,7 +1107,7 @@ namespace CarpetInterp2 { mrc_t::determine_mrc_info(); int const maxmrc = mrc_t::get_max_ind(); - MPI_Comm & comm_world = * (MPI_Comm *) GetMPICommWorld (cctkGH); + MPI_Comm const & comm_world = * (MPI_Comm const *) GetMPICommWorld (cctkGH); @@ -1641,7 +1641,7 @@ namespace CarpetInterp2 { assert (recv_descr.npoints == 0 or values.AT(v) != NULL); } - MPI_Comm & comm_world = * (MPI_Comm *) GetMPICommWorld (cctkGH); + MPI_Comm const & comm_world = * (MPI_Comm const *) GetMPICommWorld (cctkGH); int const mpi_tag = 0; // Post Irecvs |