From 133e318c65d712767fbab8403ebf806367637daf Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Mon, 10 Jul 2017 13:48:49 -0600 Subject: [PATCH] Make a constructor 'explicit'. --- include/deal.II/base/table_indices.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.5