summaryrefslogtreecommitdiffstats
path: root/Tests/CMakeLib/run_compile_commands.cxx
diff options
context:
space:
mode:
authorDaniel Pfeifer <daniel@pfeifer-mail.de>2016-09-05 21:18:05 (GMT)
committerDaniel Pfeifer <daniel@pfeifer-mail.de>2016-09-05 21:18:05 (GMT)
commit0039ffa2163665856be1e772146442f2c7418c6c (patch)
treeb9357fdea5bbe602bb34412d45bc280c5f6bbd9a /Tests/CMakeLib/run_compile_commands.cxx
parentbfdf1322e7638687c96b323b1df20fd9c08b3044 (diff)
downloadCMake-0039ffa2163665856be1e772146442f2c7418c6c.zip
CMake-0039ffa2163665856be1e772146442f2c7418c6c.tar.gz
CMake-0039ffa2163665856be1e772146442f2c7418c6c.tar.bz2
use CM_NULLPTR
Diffstat (limited to 'Tests/CMakeLib/run_compile_commands.cxx')
-rw-r--r--Tests/CMakeLib/run_compile_commands.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/Tests/CMakeLib/run_compile_commands.cxx b/Tests/CMakeLib/run_compile_commands.cxx
index 529c830..0bf0a7c 100644
--- a/Tests/CMakeLib/run_compile_commands.cxx
+++ b/Tests/CMakeLib/run_compile_commands.cxx
@@ -148,7 +148,8 @@ int main()
it != end; ++it) {
std::vector<std::string> command;
cmSystemTools::ParseUnixCommandLine(it->at("command").c_str(), command);
- if (!cmSystemTools::RunSingleCommand(command, 0, 0, 0,
+ if (!cmSystemTools::RunSingleCommand(command, CM_NULLPTR, CM_NULLPTR,
+ CM_NULLPTR,
it->at("directory").c_str())) {
std::cout << "ERROR: Failed to run command \"" << command[0] << "\""
<< std::endl;