]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Provide body of declaration for struct is_1d, since we are of course
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 30 May 2003 00:13:11 +0000 (00:13 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 30 May 2003 00:13:11 +0000 (00:13 +0000)
generating (temporary) objects of this type.

git-svn-id: https://svn.dealii.org/trunk@7685 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/include/multigrid/mg_transfer.h

index d3a8d9268f7cbe7e67a108195f86b37732f72a41..ad9c4878717358bfa7b9f22905c61f48599f8720 100644 (file)
@@ -212,7 +212,7 @@ class MGTransferPrebuilt : public MGTransferBase<Vector<number> >
                                      * @p{is_1d<true>} and the other
                                      * one of type @p{is_1d<false>}.
                                      */
-    template <bool> struct is_1d;
+    template <bool> struct is_1d {};
     
                                     /**
                                      * Implementation of the
@@ -475,7 +475,7 @@ class MGTransferBlock : public MGTransferBase<BlockVector<number> >,
                                      * @p{is_1d<true>} and the other
                                      * one of type @p{is_1d<false>}.
                                      */
-    template <bool> struct is_1d;
+    template <bool> struct is_1d {};
 
                                     /**
                                      * Implementation of the
@@ -605,7 +605,7 @@ class MGTransferSelect : public MGTransferBase<Vector<number> >,
                                      * @p{is_1d<true>} and the other
                                      * one of type @p{is_1d<false>}.
                                      */
-    template <bool> struct is_1d;
+    template <bool> struct is_1d {};
     
                                     /**
                                      * Transfer from a vector on the

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.