mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-12 08:25:03 -05:00
clang-tidy : Use nullptr
This commit is contained in:
1 parent
764fb65e8e
commit
758598df0e
1 file changed
+1
-1
@@ -78,7 +78,7 @@ class PdmPointer
|
||||
{
|
||||
PdmObjectHandle* m_object;
|
||||
public :
|
||||
inline PdmPointer () : m_object(NULL) { }
|
||||
inline PdmPointer () : m_object(nullptr) { }
|
||||
inline PdmPointer ( T * p ) : m_object(p) { PdmPointerImpl::addReference(&m_object); }
|
||||
inline PdmPointer ( const PdmPointer<T> & p ) : m_object ( p.m_object )
|
||||
{ PdmPointerImpl::addReference(&m_object); }
|
||||
|
||||
Reference in new issue
Block a user