[cig-commits] [commit] master: Using NULL instead of 0 (e0481b2)

cig_noreply at geodynamics.org cig_noreply at geodynamics.org
Fri May 23 18:31:39 PDT 2014


Repository : https://github.com/geodynamics/aspect

On branch  : master
Link       : https://github.com/geodynamics/aspect/compare/194b6f932f6ee27aea14eb44c36aa5432a9cd235...e2d2428a203331b4832dbc4e5f4d716934c22694

>---------------------------------------------------------------

commit e0481b24cf75aea8d3a38edd645bfcd5e321dca4
Author: Siqi Zhang <siqi.zhang at mq.edu.au>
Date:   Fri May 23 17:31:47 2014 -0500

    Using NULL instead of 0


>---------------------------------------------------------------

e0481b24cf75aea8d3a38edd645bfcd5e321dca4
 include/aspect/postprocess/interface.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/aspect/postprocess/interface.h b/include/aspect/postprocess/interface.h
index 8fa070e..c255595 100644
--- a/include/aspect/postprocess/interface.h
+++ b/include/aspect/postprocess/interface.h
@@ -343,7 +343,7 @@ namespace aspect
              p != postprocessors.end(); ++p)
         if (PostprocessorType * x = dynamic_cast<PostprocessorType *> ( (*p).get()) )
             return x;
-        return 0;
+        return NULL;
     }       
         
     



More information about the CIG-COMMITS mailing list