From 3304ca09afa0a0c134365d3992709935b493ef1b Mon Sep 17 00:00:00 2001 From: Erik Schnetter Date: Tue, 14 Jun 2011 14:44:17 -0400 Subject: CarpetLib: Remove some attribute(const) declarations --- Carpet/CarpetLib/src/dh.hh | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'Carpet/CarpetLib/src') 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 () - CCTK_ATTRIBUTE_CONST; template<> inline MPI_Datatype mpi_datatype () { dh::light_dboxes dummy; return mpi_datatype(dummy); } template<> inline MPI_Datatype mpi_datatype () - CCTK_ATTRIBUTE_CONST; - template<> inline MPI_Datatype mpi_datatype () { dh::fast_dboxes dummy; return mpi_datatype(dummy); } } -- cgit v1.2.3