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:
@ -118,7 +118,7 @@ Foam::timer::~timer()
|
||||
oldTimeOut_ = 0;
|
||||
|
||||
// Restore signal handler
|
||||
if (sigaction(SIGALRM, &oldAction_, NULL) < 0)
|
||||
if (sigaction(SIGALRM, &oldAction_, nullptr) < 0)
|
||||
{
|
||||
FatalErrorInFunction
|
||||
<< "sigaction(SIGALRM) error"
|
||||
|
||||
Reference in New Issue
Block a user