use nullptr instead of NULL

This commit is contained in:
Dennis Luxen 2014-10-03 09:56:07 +02:00
parent 28302a5040
commit 4f25d29815

View File

@ -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);
}