From: Timo Heister Date: Tue, 28 Jul 2015 03:04:20 +0000 (-0400) Subject: make IndexSet Epetra_Map constr explicit X-Git-Tag: v8.3.0~3^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F1210%2Fhead;p=dealii.git make IndexSet Epetra_Map constr explicit The new constructor IndexSet(const Epetra_Map &map) was not marked explicit and caused ambiguous type conversions. --- 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 /**