From 60e6966c9abfe055865e9055fe6670d01f6771a1 Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Mon, 13 Feb 2006 22:59:41 +0000 Subject: [PATCH] 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 --- deal.II/deal.II/include/fe/mapping_collection.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.5