use nullptr instead of NULL
This commit is contained in:
parent
28302a5040
commit
4f25d29815
@ -121,7 +121,7 @@ portable_canonical(const boost::filesystem::path &relative_path,
|
||||
inline path temp_directory_path()
|
||||
{
|
||||
char *buffer;
|
||||
buffer = tmpnam(NULL);
|
||||
buffer = tmpnam(nullptr);
|
||||
|
||||
return path(buffer);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user