From e54209796b7f63cb9dcd22958dcc37f2bab54ec7 Mon Sep 17 00:00:00 2001 From: Dylan Harries Date: Wed, 4 Jan 2017 12:36:43 +1030 Subject: [PATCH] Use nullptr instead of NULL --- templates/two_scale_high_scale_constraint.cpp.in | 2 +- templates/two_scale_low_scale_constraint.cpp.in | 2 +- templates/two_scale_susy_scale_constraint.cpp.in | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/templates/two_scale_high_scale_constraint.cpp.in b/templates/two_scale_high_scale_constraint.cpp.in index 98a70b404..6efa4157b 100644 --- a/templates/two_scale_high_scale_constraint.cpp.in +++ b/templates/two_scale_high_scale_constraint.cpp.in @@ -124,7 +124,7 @@ void @ModelName@_high_scale_constraint::clear() { scale = 0.; initial_scale_guess = 0.; - model = NULL; + model = nullptr; } void @ModelName@_high_scale_constraint::initialize() diff --git a/templates/two_scale_low_scale_constraint.cpp.in b/templates/two_scale_low_scale_constraint.cpp.in index 887c28527..9b508aa91 100644 --- a/templates/two_scale_low_scale_constraint.cpp.in +++ b/templates/two_scale_low_scale_constraint.cpp.in @@ -131,7 +131,7 @@ void @ModelName@_low_scale_constraint::clear() { scale = 0.; initial_scale_guess = 0.; - model = NULL; + model = nullptr; qedqcd = softsusy::QedQcd(); MWDRbar = 0.; MZDRbar = 0.; diff --git a/templates/two_scale_susy_scale_constraint.cpp.in b/templates/two_scale_susy_scale_constraint.cpp.in index 6547384e4..5b48f20b7 100644 --- a/templates/two_scale_susy_scale_constraint.cpp.in +++ b/templates/two_scale_susy_scale_constraint.cpp.in @@ -120,7 +120,7 @@ void @ModelName@_susy_scale_constraint::clear() { scale = 0.; initial_scale_guess = 0.; - model = NULL; + model = nullptr; qedqcd = softsusy::QedQcd(); }