mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
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:
@ -299,7 +299,7 @@ bool domainDecomposition::writeDecomposition()
|
||||
(
|
||||
curPatchSizes.size()
|
||||
+ curProcessorPatchSizes.size(),
|
||||
reinterpret_cast<polyPatch*>(NULL)
|
||||
reinterpret_cast<polyPatch*>(0)
|
||||
);
|
||||
|
||||
label nPatches = 0;
|
||||
|
||||
Reference in New Issue
Block a user