aboutsummaryrefslogtreecommitdiff
path: root/Carpet/CarpetLib/src/commstate.cc
diff options
context:
space:
mode:
Diffstat (limited to 'Carpet/CarpetLib/src/commstate.cc')
-rw-r--r--Carpet/CarpetLib/src/commstate.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/Carpet/CarpetLib/src/commstate.cc b/Carpet/CarpetLib/src/commstate.cc
index ef1b64cdb..a340c0896 100644
--- a/Carpet/CarpetLib/src/commstate.cc
+++ b/Carpet/CarpetLib/src/commstate.cc
@@ -46,15 +46,15 @@ comm_state::comm_state ()
thestate = state_get_buffer_sizes;
typebufs.resize (dist::c_ndatatypes());
-#define INSTANTIATE(T) \
+#define TYPECASE(N,T) \
{ \
T dummy; \
unsigned const type = dist::c_datatype (dummy); \
typebufs.AT(type).mpi_datatype = dist::mpi_datatype (dummy); \
typebufs.AT(type).datatypesize = sizeof dummy; \
}
-#include "instantiate"
-#undef INSTANTIATE
+#include "typecase.hh"
+#undef TYPECASE
srequests.reserve (dist::c_ndatatypes() * dist::size());
rrequests.reserve (dist::c_ndatatypes() * dist::size());