mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-28 18:09:42 -05:00
use CM_NULLPTR
This commit is contained in:
committed by
Brad King
parent
b4b73f56a2
commit
1d6909a287
@@ -41,7 +41,7 @@ const char* cmDefinitions::Get(const std::string& key, StackIter begin,
|
||||
StackIter end)
|
||||
{
|
||||
Def const& def = cmDefinitions::GetInternal(key, begin, end, false);
|
||||
return def.Exists ? def.c_str() : 0;
|
||||
return def.Exists ? def.c_str() : CM_NULLPTR;
|
||||
}
|
||||
|
||||
void cmDefinitions::Raise(const std::string& key, StackIter begin,
|
||||
|
||||
Reference in New Issue
Block a user