aboutsummaryrefslogtreecommitdiff
path: root/Carpet/CarpetLib/src
diff options
context:
space:
mode:
Diffstat (limited to 'Carpet/CarpetLib/src')
-rw-r--r--Carpet/CarpetLib/src/dh.hh6
1 files changed, 1 insertions, 5 deletions
diff --git a/Carpet/CarpetLib/src/dh.hh b/Carpet/CarpetLib/src/dh.hh
index 28cccedf9..fd4417bae 100644
--- a/Carpet/CarpetLib/src/dh.hh
+++ b/Carpet/CarpetLib/src/dh.hh
@@ -273,15 +273,11 @@ public:
MPI_Datatype mpi_datatype (dh::light_dboxes const &) CCTK_ATTRIBUTE_CONST;
-MPI_Datatype mpi_datatype (dh::fast_dboxes const &);
+MPI_Datatype mpi_datatype (dh::fast_dboxes const &) CCTK_ATTRIBUTE_CONST;
namespace dist {
template<> inline MPI_Datatype mpi_datatype<dh::light_dboxes> ()
- CCTK_ATTRIBUTE_CONST;
- template<> inline MPI_Datatype mpi_datatype<dh::light_dboxes> ()
{ dh::light_dboxes dummy; return mpi_datatype(dummy); }
template<> inline MPI_Datatype mpi_datatype<dh::fast_dboxes> ()
- CCTK_ATTRIBUTE_CONST;
- template<> inline MPI_Datatype mpi_datatype<dh::fast_dboxes> ()
{ dh::fast_dboxes dummy; return mpi_datatype(dummy); }
}