diff options
author | Erik Schnetter <schnetter@cct.lsu.edu> | 2011-06-14 14:44:17 -0400 |
---|---|---|
committer | Barry Wardell <barry.wardell@gmail.com> | 2011-12-14 18:26:30 +0000 |
commit | 3304ca09afa0a0c134365d3992709935b493ef1b (patch) | |
tree | 9d774bb9fc50cda00240bb16b3be9b07817d3161 /Carpet/CarpetLib/src | |
parent | e4ef69b0b897ff19ebee339cdd94b32ce31c124b (diff) |
CarpetLib: Remove some attribute(const) declarations
Diffstat (limited to 'Carpet/CarpetLib/src')
-rw-r--r-- | Carpet/CarpetLib/src/dh.hh | 6 |
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); } } |