C++11: Replaced the C NULL with the safer C++11 nullptr
Requires gcc version 4.7 or higher
This commit is contained in:
@ -34,7 +34,7 @@
|
||||
const scalar xMin = p->minValue();
|
||||
const scalar xMax = p->maxValue();
|
||||
|
||||
autoPtr<OFstream> filePtr(NULL);
|
||||
autoPtr<OFstream> filePtr(nullptr);
|
||||
if (writeData)
|
||||
{
|
||||
fileName fName = pdfPath/(p->type() + ".data");
|
||||
|
||||
Reference in New Issue
Block a user