From a8eeb0be6834893703ddf13dc1d436465859c775 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 7ac2be254c..6e3560493c 100644 --- a/include/deal.II/base/index_set.h +++ b/include/deal.II/base/index_set.h @@ -109,7 +109,7 @@ public: /** * Constructor from a trilinos Epetra_Map. */ - IndexSet(const Epetra_Map &map); + explicit IndexSet(const Epetra_Map &map); #endif /** -- 2.39.5