From: Timo Heister Date: Tue, 28 Jul 2015 03:04:20 +0000 (-0400) Subject: make IndexSet Epetra_Map constr explicit X-Git-Tag: v8.4.0-rc2~712^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a8eeb0be6834893703ddf13dc1d436465859c775;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 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 /**