]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Don't allow an implicit conversion of a mapping object to a mapping
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Mon, 13 Feb 2006 22:59:41 +0000 (22:59 +0000)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Mon, 13 Feb 2006 22:59:41 +0000 (22:59 +0000)
collection, since this leads to taking references to temporary objects
(see step-21 before today's changes).

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

deal.II/deal.II/include/fe/mapping_collection.h

index 8495ac566c8e9e3a0b6d469e71b0933a7f1cd1fe..6f2b3877723bf1a4cf63157e24d2a9d5e174bdd4 100644 (file)
@@ -62,7 +62,7 @@ namespace hp
                                         * mapping is used for all active_fe
                                         * indices.
                                         */
-      MappingCollection (const Mapping<dim> &mapping);
+      explicit MappingCollection (const Mapping<dim> &mapping);
 
                                        /**
                                         * Returns the number of mapping

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.