From 5ae2cb3176304a5204fb198d49af656f2190c21a Mon Sep 17 00:00:00 2001 From: Timo Heister Date: Mon, 27 Jul 2015 23:04:20 -0400 Subject: [PATCH] make IndexSet Epetra_Map constr explicit The new constructor IndexSet(const Epetra_Map &map) was not marked explicit and caused ambiguous type conversions. --- include/deal.II/base/index_set.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/deal.II/base/index_set.h b/include/deal.II/base/index_set.h index 10a260d377..6a49bda91b 100644 --- a/include/deal.II/base/index_set.h +++ b/include/deal.II/base/index_set.h @@ -93,7 +93,7 @@ public: /** * Constructor from a trilinos Epetra_Map. */ - IndexSet(const Epetra_Map &map); + explicit IndexSet(const Epetra_Map &map); #endif /** -- 2.39.5