diff options
author | Brad King <brad.king@kitware.com> | 2021-05-12 15:26:12 -0400 |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2021-05-12 15:53:37 -0400 |
commit | ba7b939831428e51042ba98ea54df8b98a20ab27 (patch) | |
tree | 2ccc1cebe0f61e29d5b469599b2f88e14ec75c02 /Source/cmLocalGenerator.cxx | |
parent | 09bee3bee137af72f57ee10327e4e5f689ce7e90 (diff) | |
download | cmake-ba7b939831428e51042ba98ea54df8b98a20ab27.tar.gz |
cmStateDirectory: Rename ConvertToRelPathIf{Not => }Contained
The "Not" in the method name is backward from its logic.
Diffstat (limited to 'Source/cmLocalGenerator.cxx')
-rw-r--r-- | Source/cmLocalGenerator.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmLocalGenerator.cxx b/Source/cmLocalGenerator.cxx index fbbdfcaa5e..304b607c51 100644 --- a/Source/cmLocalGenerator.cxx +++ b/Source/cmLocalGenerator.cxx @@ -3676,7 +3676,7 @@ std::string const& cmLocalGenerator::GetCurrentSourceDirectory() const std::string cmLocalGenerator::MaybeConvertToRelativePath( std::string const& local_path, std::string const& remote_path) const { - return this->StateSnapshot.GetDirectory().ConvertToRelPathIfNotContained( + return this->StateSnapshot.GetDirectory().ConvertToRelPathIfContained( local_path, remote_path); } |