Use nullptr (C++) instead of NULL (C)
This commit is contained in:
1 parent
ac29f6a13a
commit
cea7bc283c
12 files changed
+28
-27
No files matched your search
@@ -88,7 +88,7 @@ public:
|
||||
static F04GlobalField* getObject();
|
||||
|
||||
//
|
||||
static G4bool Exists() {if (object==NULL) {return false;} else {return true;}; }
|
||||
static G4bool Exists() {if (object==nullptr) {return false;} else {return true;}; }
|
||||
|
||||
/// GetFieldValue() returns the field value at a given point[].
|
||||
/// field is really field[6]: Bx,By,Bz,Ex,Ey,Ez.
|
||||
|
||||
Reference in new issue
Block a user