]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Make the copy constructor of MappingQ explicit.
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Sun, 21 Aug 2011 04:19:01 +0000 (04:19 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Sun, 21 Aug 2011 04:19:01 +0000 (04:19 +0000)
git-svn-id: https://svn.dealii.org/trunk@24158 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/include/deal.II/fe/mapping_q.h

index 50ffaf7eeda0faf27e9b031b4534d02b469f3721..c0c996682d7a6773aa30886d1703c5f77d4b0231 100644 (file)
@@ -82,7 +82,7 @@ class MappingQ : public MappingQ1<dim,spacedim>
                                      * #tensor_pols pointer as done
                                      * by a default copy constructor.
                                      */
-    MappingQ (const MappingQ<dim,spacedim> &mapping);
+    explicit MappingQ (const MappingQ<dim,spacedim> &mapping);
 
                                     /**
                                      * Destructor.

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.