]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Make a constructor 'explicit'. 4597/head
authorWolfgang Bangerth <bangerth@colostate.edu>
Mon, 10 Jul 2017 19:48:49 +0000 (13:48 -0600)
committerWolfgang Bangerth <bangerth@colostate.edu>
Mon, 10 Jul 2017 19:48:49 +0000 (13:48 -0600)
include/deal.II/base/table_indices.h

index 40e5136246c170dffe940af86e93bd5b2a034fc0..d082cfb20194b27e6544dc4aabf1936b424d2450 100644 (file)
@@ -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

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.