summaryrefslogtreecommitdiffstats
path: root/Source/cmStateDirectory.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2021-05-12 19:26:12 (GMT)
committerBrad King <brad.king@kitware.com>2021-05-12 19:53:37 (GMT)
commitba7b939831428e51042ba98ea54df8b98a20ab27 (patch)
tree2ccc1cebe0f61e29d5b469599b2f88e14ec75c02 /Source/cmStateDirectory.h
parent09bee3bee137af72f57ee10327e4e5f689ce7e90 (diff)
downloadCMake-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.h')
-rw-r--r--Source/cmStateDirectory.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmStateDirectory.h b/Source/cmStateDirectory.h
index 70c19bc..4dab9ff 100644
--- a/Source/cmStateDirectory.h
+++ b/Source/cmStateDirectory.h
@@ -36,7 +36,7 @@ public:
bool ContainsBoth(std::string const& local_path,
std::string const& remote_path) const;
- std::string ConvertToRelPathIfNotContained(
+ std::string ConvertToRelPathIfContained(
std::string const& local_path, std::string const& remote_path) const;
cmStringRange GetIncludeDirectoriesEntries() const;