]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Delete a constructor instead of making it private.
authorWolfgang Bangerth <bangerth@colostate.edu>
Wed, 12 Jul 2017 16:18:21 +0000 (10:18 -0600)
committerWolfgang Bangerth <bangerth@colostate.edu>
Wed, 12 Jul 2017 16:58:15 +0000 (10:58 -0600)
include/deal.II/grid/tria_faces.h

index d0fae38ae8001125ea40566602038c08c09c8c76..f375f0d3ee78fb87ed5408225ecb80cbeacd03a8 100644 (file)
@@ -48,12 +48,12 @@ namespace internal
     template <int dim>
     class TriaFaces
     {
-    private:
+    public:
       /**
-       * Make the constructor private so no one can use this general template.
-       * Only the specializations should be used.
+       * Constructor. This constructor is deleted to prevent the use of this template,
+       * as only the specializations should be used
        */
-      TriaFaces();
+      TriaFaces() = delete;
     };
 
 

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.