mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-12-28 03:37:59 +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:
@ -871,7 +871,7 @@ int main(int argc, char *argv[])
|
||||
// Main command read & execute loop
|
||||
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
autoPtr<IFstream> fileStreamPtr(NULL);
|
||||
autoPtr<IFstream> fileStreamPtr(nullptr);
|
||||
|
||||
if (batch)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user