diff options
author | Vitaly Stakhovsky <vvs31415@gitlab.org> | 2020-11-05 16:00:00 (GMT) |
---|---|---|
committer | Vitaly Stakhovsky <vvs31415@gitlab.org> | 2020-11-05 16:07:39 (GMT) |
commit | f6e7d5f3a00eee04834840a9534d19445fd3ab8f (patch) | |
tree | 13f730473cd908d4d8f4673ff5ea78987385bf5a /Source/CTest/cmCTestUpdateCommand.cxx | |
parent | c43b0505a5806ce38274899cc09f42d3fd7d72ee (diff) | |
download | CMake-f6e7d5f3a00eee04834840a9534d19445fd3ab8f.zip CMake-f6e7d5f3a00eee04834840a9534d19445fd3ab8f.tar.gz CMake-f6e7d5f3a00eee04834840a9534d19445fd3ab8f.tar.bz2 |
Reduce the scope of temporary cmProp variables and other improvements
Diffstat (limited to 'Source/CTest/cmCTestUpdateCommand.cxx')
-rw-r--r-- | Source/CTest/cmCTestUpdateCommand.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/CTest/cmCTestUpdateCommand.cxx b/Source/CTest/cmCTestUpdateCommand.cxx index 6fef90a..0ba2c41 100644 --- a/Source/CTest/cmCTestUpdateCommand.cxx +++ b/Source/CTest/cmCTestUpdateCommand.cxx @@ -5,7 +5,6 @@ #include "cmCTest.h" #include "cmCTestUpdateHandler.h" #include "cmMakefile.h" -#include "cmProperty.h" #include "cmSystemTools.h" cmCTestGenericHandler* cmCTestUpdateCommand::InitializeHandler() @@ -18,7 +17,7 @@ cmCTestGenericHandler* cmCTestUpdateCommand::InitializeHandler() this->CTest->SetCTestConfiguration( "SourceDirectory", cmSystemTools::CollapseFullPath( - cmToCStrSafe(this->Makefile->GetDefinition("CTEST_SOURCE_DIRECTORY"))), + this->Makefile->GetSafeDefinition("CTEST_SOURCE_DIRECTORY")), this->Quiet); } std::string source_dir = |