Use nullptr instead lf C-styled NULL
This commit is contained in:
committed by
Paul Beckingham
parent
6f19a3fbae
commit
511a235215
@@ -1026,7 +1026,7 @@ void TDB2::show_diff (
|
||||
const std::string& prior,
|
||||
const std::string& when)
|
||||
{
|
||||
Datetime lastChange (strtol (when.c_str (), NULL, 10));
|
||||
Datetime lastChange (strtol (when.c_str (), nullptr, 10));
|
||||
|
||||
// Set the colors.
|
||||
Color color_red (Context::getContext ().color () ? Context::getContext ().config.get ("color.undo.before") : "");
|
||||
|
||||
Reference in New Issue
Block a user