diff options
author | Stephen Kelly <steveire@gmail.com> | 2016-08-27 11:44:52 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2016-08-27 11:44:52 (GMT) |
commit | ad70a236f4368c21c08bcd4ea4d28425176c4e17 (patch) | |
tree | a161820284ff6d19333e247f9dd97d1cbc5be72b | |
parent | e3ca17e13b8d2aecc6d97ac800d65c6c35378a98 (diff) | |
download | CMake-ad70a236f4368c21c08bcd4ea4d28425176c4e17.zip CMake-ad70a236f4368c21c08bcd4ea4d28425176c4e17.tar.gz CMake-ad70a236f4368c21c08bcd4ea4d28425176c4e17.tar.bz2 |
Convert: Remove ConvertToOutputForExisting overload
It is no longer used.
-rw-r--r-- | Source/cmOutputConverter.cxx | 13 | ||||
-rw-r--r-- | Source/cmOutputConverter.h | 5 |
2 files changed, 0 insertions, 18 deletions
diff --git a/Source/cmOutputConverter.cxx b/Source/cmOutputConverter.cxx index 47c2928..5e1babc 100644 --- a/Source/cmOutputConverter.cxx +++ b/Source/cmOutputConverter.cxx @@ -46,19 +46,6 @@ std::string cmOutputConverter::ConvertToOutputForExisting( return this->ConvertToOutputFormat(remote, format); } -std::string cmOutputConverter::ConvertToOutputForExisting( - RelativeRoot remote, OutputFormat format) const -{ - // The relative root must have a path (i.e. not FULL or NONE) - assert(remote != FULL); - assert(remote != NONE); - - const char* remotePath = this->GetRelativeRootPath(remote); - assert(remotePath != CM_NULLPTR); - - return this->ConvertToOutputForExisting(remotePath, format); -} - const char* cmOutputConverter::GetRelativeRootPath(RelativeRoot relroot) const { switch (relroot) { diff --git a/Source/cmOutputConverter.h b/Source/cmOutputConverter.h index d3ded25..9eb1846 100644 --- a/Source/cmOutputConverter.h +++ b/Source/cmOutputConverter.h @@ -69,11 +69,6 @@ public: std::string ConvertToOutputForExisting(const std::string& remote, OutputFormat format = SHELL) const; - /** For existing path identified by RelativeRoot convert to output - path and short path if spaces. */ - std::string ConvertToOutputForExisting(RelativeRoot remote, - OutputFormat format = SHELL) const; - void SetLinkScriptShell(bool linkScriptShell); /** |