]> 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:14:30 +0000 (10:14 -0600)
committerWolfgang Bangerth <bangerth@colostate.edu>
Wed, 12 Jul 2017 16:58:14 +0000 (10:58 -0600)
include/deal.II/dofs/dof_faces.h

index 338fc51f59d45bb502015e94687e7980323333e0..cdb2e536b9d9f829e9f0bad28d6e8984c80846b7 100644 (file)
@@ -67,12 +67,12 @@ namespace internal
     template <int dim>
     class DoFFaces
     {
+    public:
       /**
-       * Make the constructor private to prevent the use of this 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
        */
-    private:
-      DoFFaces();
+      DoFFaces() = 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.