mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-05 13:20:47 -06:00
use CM_NULLPTR
This commit is contained in:
committed by
Brad King
parent
b4b73f56a2
commit
1d6909a287
@@ -19,7 +19,7 @@ cmScriptGenerator::cmScriptGenerator(
|
||||
: RuntimeConfigVariable(config_var)
|
||||
, Configurations(configurations)
|
||||
, ConfigurationName("")
|
||||
, ConfigurationTypes(0)
|
||||
, ConfigurationTypes(CM_NULLPTR)
|
||||
, ActionsPerConfig(false)
|
||||
{
|
||||
}
|
||||
@@ -36,7 +36,7 @@ void cmScriptGenerator::Generate(
|
||||
this->ConfigurationTypes = &configurationTypes;
|
||||
this->GenerateScript(os);
|
||||
this->ConfigurationName = "";
|
||||
this->ConfigurationTypes = 0;
|
||||
this->ConfigurationTypes = CM_NULLPTR;
|
||||
}
|
||||
|
||||
static void cmScriptGeneratorEncodeConfig(const std::string& config,
|
||||
|
||||
Reference in New Issue
Block a user