aboutsummaryrefslogtreecommitdiff
path: root/Carpet
diff options
context:
space:
mode:
authorErik Schnetter <schnetter@cct.lsu.edu>2011-05-22 21:27:04 -0400
committerBarry Wardell <barry.wardell@gmail.com>2011-12-14 18:26:18 +0000
commitd11d9a9f1b7885b9e009ea0f389575d1e40daebf (patch)
tree4d15472a0bec9676302d00d9048478166f9e2b07 /Carpet
parentf6ac0288ad8d7643d0476e4af85f25eb8f278f56 (diff)
CarpetLib: Make dummy variable non-constant to pacify compiler
Diffstat (limited to 'Carpet')
-rw-r--r--Carpet/CarpetLib/src/mpi_string.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/Carpet/CarpetLib/src/mpi_string.cc b/Carpet/CarpetLib/src/mpi_string.cc
index b840ec882..916fc203a 100644
--- a/Carpet/CarpetLib/src/mpi_string.cc
+++ b/Carpet/CarpetLib/src/mpi_string.cc
@@ -295,7 +295,7 @@ namespace CarpetLib
vector <T> alldata_buffer_out (total_length_out);
// Exchange all data vectors
- T const dummy;
+ T dummy;
MPI_Datatype const type = mpi_datatype (dummy);
int datatypesize;
MPI_Type_size (type, &datatypesize);