mirror of
https://bitbucket.org/theswgsource/src-1.2.git
synced 2026-07-31 01:15:48 -04:00
newer standards prefer nullptr over NULL - this is most of them but there are others too
This commit is contained in:
@@ -245,7 +245,7 @@ void DataTableTool::createOutputDirectoryForFile(const std::string & fileName)
|
||||
|
||||
std::string directoryName(fileName, 0, slashPos);
|
||||
#if defined(PLATFORM_WIN32)
|
||||
int result = CreateDirectory(directoryName.c_str(), NULL);
|
||||
int result = CreateDirectory(directoryName.c_str(), nullptr);
|
||||
#elif defined(PLATFORM_LINUX)
|
||||
// make sure slashes are forward
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user