consistency update for null pointers

- uniform use of reinterpret_cast<foo*>(0) instead of
  reinterpret_cast<foo*>(NULL)

- make all static null() members inline since they are really only a cast:
      "*reinterpret_cast<foo*>(0)"
This commit is contained in:
Mark Olesen
2009-01-16 10:15:49 +01:00
parent a2b24d07a8
commit 246d569c4d
50 changed files with 164 additions and 178 deletions

View File

@ -299,7 +299,7 @@ bool domainDecomposition::writeDecomposition()
(
curPatchSizes.size()
+ curProcessorPatchSizes.size(),
reinterpret_cast<polyPatch*>(NULL)
reinterpret_cast<polyPatch*>(0)
);
label nPatches = 0;