mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-21 14:40:26 -06:00
use CM_NULLPTR
This commit is contained in:
committed by
Brad King
parent
b4b73f56a2
commit
1d6909a287
@@ -59,7 +59,7 @@ bool cmSetCommand::InitialPass(std::vector<std::string> const& args,
|
||||
// SET (VAR PARENT_SCOPE) // Removes the definition of VAR
|
||||
// in the parent scope.
|
||||
else if (args.size() == 2 && args[args.size() - 1] == "PARENT_SCOPE") {
|
||||
this->Makefile->RaiseScope(variable, 0);
|
||||
this->Makefile->RaiseScope(variable, CM_NULLPTR);
|
||||
return true;
|
||||
}
|
||||
|
||||
@@ -73,7 +73,7 @@ bool cmSetCommand::InitialPass(std::vector<std::string> const& args,
|
||||
bool force = false; // optional
|
||||
bool parentScope = false;
|
||||
cmState::CacheEntryType type = cmState::STRING; // required if cache
|
||||
const char* docstring = 0; // required if cache
|
||||
const char* docstring = CM_NULLPTR; // required if cache
|
||||
|
||||
unsigned int ignoreLastArgs = 0;
|
||||
// look for PARENT_SCOPE argument
|
||||
|
||||
Reference in New Issue
Block a user