aboutsummaryrefslogtreecommitdiff
path: root/Carpet/CarpetLib/src/dh.hh
diff options
context:
space:
mode:
authorErik Schnetter <schnetter@cct.lsu.edu>2011-06-14 14:44:17 -0400
committerBarry Wardell <barry.wardell@gmail.com>2011-12-14 18:26:30 +0000
commit3304ca09afa0a0c134365d3992709935b493ef1b (patch)
tree9d774bb9fc50cda00240bb16b3be9b07817d3161 /Carpet/CarpetLib/src/dh.hh
parente4ef69b0b897ff19ebee339cdd94b32ce31c124b (diff)
CarpetLib: Remove some attribute(const) declarations
Diffstat (limited to 'Carpet/CarpetLib/src/dh.hh')
-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); }
}