From: Wolfgang Bangerth Date: Mon, 10 Jul 2017 19:48:49 +0000 (-0600) Subject: Make a constructor 'explicit'. X-Git-Tag: v9.0.0-rc1~1424^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=133e318c65d712767fbab8403ebf806367637daf;p=dealii.git Make a constructor 'explicit'. --- diff --git a/include/deal.II/base/table_indices.h b/include/deal.II/base/table_indices.h index 40e5136246..d082cfb201 100644 --- a/include/deal.II/base/table_indices.h +++ b/include/deal.II/base/table_indices.h @@ -57,7 +57,7 @@ public: * This constructor will result in a compiler error if * the template argument @p N is different from one. */ - TableIndices (const unsigned int index0); + explicit TableIndices (const unsigned int index0); /** * Constructor. This is the appropriate constructor for an