mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
C++11: Replaced the C NULL with the safer C++11 nullptr
Requires gcc version 4.7 or higher
This commit is contained in:
@ -1765,12 +1765,12 @@ Foam::globalMeshData::globalMeshData(const polyMesh& mesh)
|
||||
processorPatchIndices_(0),
|
||||
processorPatchNeighbours_(0),
|
||||
nGlobalPoints_(-1),
|
||||
sharedPointLabelsPtr_(NULL),
|
||||
sharedPointAddrPtr_(NULL),
|
||||
sharedPointGlobalLabelsPtr_(NULL),
|
||||
sharedPointLabelsPtr_(nullptr),
|
||||
sharedPointAddrPtr_(nullptr),
|
||||
sharedPointGlobalLabelsPtr_(nullptr),
|
||||
nGlobalEdges_(-1),
|
||||
sharedEdgeLabelsPtr_(NULL),
|
||||
sharedEdgeAddrPtr_(NULL)
|
||||
sharedEdgeLabelsPtr_(nullptr),
|
||||
sharedEdgeAddrPtr_(nullptr)
|
||||
{
|
||||
updateMesh();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user