diff options
author | Brad King <brad.king@kitware.com> | 2021-05-12 19:26:12 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2021-05-12 19:53:37 (GMT) |
commit | ba7b939831428e51042ba98ea54df8b98a20ab27 (patch) | |
tree | 2ccc1cebe0f61e29d5b469599b2f88e14ec75c02 /Source/cmStateDirectory.cxx | |
parent | 09bee3bee137af72f57ee10327e4e5f689ce7e90 (diff) | |
download | CMake-ba7b939831428e51042ba98ea54df8b98a20ab27.zip CMake-ba7b939831428e51042ba98ea54df8b98a20ab27.tar.gz CMake-ba7b939831428e51042ba98ea54df8b98a20ab27.tar.bz2 |
cmStateDirectory: Rename ConvertToRelPathIf{Not => }Contained
The "Not" in the method name is backward from its logic.
Diffstat (limited to 'Source/cmStateDirectory.cxx')
-rw-r--r-- | Source/cmStateDirectory.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmStateDirectory.cxx b/Source/cmStateDirectory.cxx index 7ce362a..7f25b4b 100644 --- a/Source/cmStateDirectory.cxx +++ b/Source/cmStateDirectory.cxx @@ -159,7 +159,7 @@ bool cmStateDirectory::ContainsBoth(std::string const& local_path, return bothInBinary || bothInSource; } -std::string cmStateDirectory::ConvertToRelPathIfNotContained( +std::string cmStateDirectory::ConvertToRelPathIfContained( std::string const& local_path, std::string const& remote_path) const { if (!this->ContainsBoth(local_path, remote_path)) { |