From: Wolfgang Bangerth Date: Mon, 13 Feb 2006 22:59:41 +0000 (+0000) Subject: Don't allow an implicit conversion of a mapping object to a mapping X-Git-Tag: v8.0.0~12309 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=60e6966c9abfe055865e9055fe6670d01f6771a1;p=dealii.git Don't allow an implicit conversion of a mapping object to a mapping 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 --- diff --git a/deal.II/deal.II/include/fe/mapping_collection.h b/deal.II/deal.II/include/fe/mapping_collection.h index 8495ac566c..6f2b387772 100644 --- a/deal.II/deal.II/include/fe/mapping_collection.h +++ b/deal.II/deal.II/include/fe/mapping_collection.h @@ -62,7 +62,7 @@ namespace hp * mapping is used for all active_fe * indices. */ - MappingCollection (const Mapping &mapping); + explicit MappingCollection (const Mapping &mapping); /** * Returns the number of mapping