Use nullptr (C++) instead of NULL (C)

This commit is contained in:
wollra_j committed 2026-08-12 16:30:13 +02:00
1 parent ac29f6a13a
commit cea7bc283c
12 files changed
+28 -27

No files matched your search

+1 -1
View File
@@ -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.