Replay: Change NULL to nullptr

This commit is contained in:
muramura 2024-09-20 08:19:39 +09:00 committed by Peter Barker
parent 36dcadf652
commit 0e72fc7bd2
1 changed files with 2 additions and 2 deletions

View File

@ -45,7 +45,7 @@ struct MsgHandler::format_field_info *MsgHandler::find_field_info(const char *la
return &field_info[i];
}
}
return NULL;
return nullptr;
}
MsgHandler::MsgHandler(const struct log_Format &_f) : next_field(0), f(_f)
@ -107,7 +107,7 @@ void MsgHandler::parse_format_fields()
bool MsgHandler::field_value(uint8_t *msg, const char *label, char *ret, uint8_t retlen)
{
struct format_field_info *info = find_field_info(label);
if (info == NULL) {
if (info == nullptr) {
::printf("No info for (%s)\n",label);
exit(1);
}