diff --git a/core/base/inc/RtypesCore.h b/core/base/inc/RtypesCore.h index f0e236e37031d..efd3100504c5b 100644 --- a/core/base/inc/RtypesCore.h +++ b/core/base/inc/RtypesCore.h @@ -85,7 +85,8 @@ typedef float Size_t; //Attribute size (float) //---- constants --------------------------------------------------------------- #ifndef NULL -#define NULL 0 +constexpr const auto R__DEPRECATED(6,12, "Please #include instead of relying on ROOT's NULL") + NULL = nullptr; #endif const Bool_t kTRUE = true;