mirror of
https://github.com/OpenFOAM/OpenFOAM-6.git
synced 2025-12-08 06:57:46 +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:
@ -134,7 +134,7 @@ public:
|
||||
inline T* ptr() const;
|
||||
|
||||
//- If object pointer points to valid object:
|
||||
// delete object and set pointer to NULL
|
||||
// delete object and set pointer to nullptr
|
||||
inline void clear() const;
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user