]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Use 'nullptr' to initialize pointers. 14832/head
authorWolfgang Bangerth <bangerth@colostate.edu>
Sun, 26 Feb 2023 13:23:16 +0000 (06:23 -0700)
committerWolfgang Bangerth <bangerth@colostate.edu>
Sun, 26 Feb 2023 13:24:43 +0000 (06:24 -0700)
include/deal.II/dofs/dof_accessor.h

index ee4aa970da0b319c10339d2d48cc8b349385234d..f7fc7e3f3a8f5974b104a34e5b1b76154440878a 100644 (file)
@@ -1260,10 +1260,10 @@ public:
    * semantic sense, and we generate an exception when such an object is
    * actually generated.
    */
-  DoFInvalidAccessor(const void *        parent     = 0,
+  DoFInvalidAccessor(const void *        parent     = nullptr,
                      const int           level      = -1,
                      const int           index      = -1,
-                     const AccessorData *local_data = 0);
+                     const AccessorData *local_data = nullptr);
 
   /**
    * Copy constructor.  This class is used for iterators that do not make

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.