mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-21 22:50:26 -06:00
use CM_NULLPTR
This commit is contained in:
committed by
Brad King
parent
b4b73f56a2
commit
1d6909a287
@@ -77,7 +77,7 @@ int cmCoreTryCompile::TryCompileCode(std::vector<std::string> const& argv,
|
||||
}
|
||||
|
||||
const char* sourceDirectory = argv[2].c_str();
|
||||
const char* projectName = 0;
|
||||
const char* projectName = CM_NULLPTR;
|
||||
std::string targetName;
|
||||
std::vector<std::string> cmakeFlags(1, "CMAKE_FLAGS"); // fake argv[0]
|
||||
std::vector<std::string> compileDefs;
|
||||
|
||||
Reference in New Issue
Block a user