Cleanup: Change NULL to nullptr.

This commit is contained in:
Jeroen Bakker 2022-01-31 13:46:53 +01:00
parent 180a68c1dc
commit 2216699c64
1 changed files with 1 additions and 1 deletions

View File

@ -193,7 +193,7 @@ static std::string read_temp_file_in_string(const std::string &file_path)
std::string res;
size_t buffer_len;
void *buffer = BLI_file_read_text_as_mem(file_path.c_str(), 0, &buffer_len);
if (buffer != NULL) {
if (buffer != nullptr) {
res.assign((const char *)buffer, buffer_len);
MEM_freeN(buffer);
}