diff options
author | Daniel Pfeifer <daniel@pfeifer-mail.de> | 2016-06-16 21:25:43 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2016-10-06 16:45:18 (GMT) |
commit | 51bc6bddb91283da25d098492c9cc1b50e3008fc (patch) | |
tree | 6a609f790f11244c19ce474901a004298e423513 | |
parent | 8e0c1599a1015cf80c4db35d108509986236b756 (diff) | |
download | CMake-51bc6bddb91283da25d098492c9cc1b50e3008fc.zip CMake-51bc6bddb91283da25d098492c9cc1b50e3008fc.tar.gz CMake-51bc6bddb91283da25d098492c9cc1b50e3008fc.tar.bz2 |
cmOutputConverter: remove unused code
Remove old ConvertToRelativePath function now that all clients have
migrated to the new signature.
-rw-r--r-- | Source/cmOutputConverter.cxx | 9 | ||||
-rw-r--r-- | Source/cmOutputConverter.h | 11 |
2 files changed, 0 insertions, 20 deletions
diff --git a/Source/cmOutputConverter.cxx b/Source/cmOutputConverter.cxx index 2ef603b..0b270aa 100644 --- a/Source/cmOutputConverter.cxx +++ b/Source/cmOutputConverter.cxx @@ -77,15 +77,6 @@ static bool cmOutputConverterNotAbove(const char* a, const char* b) } std::string cmOutputConverter::ConvertToRelativePath( - const std::vector<std::string>& local, const std::string& in_remote, - bool force) const -{ - std::string local_path = cmSystemTools::JoinPath(local); - return force ? this->ForceToRelativePath(local_path, in_remote) - : this->ConvertToRelativePath(local_path, in_remote); -} - -std::string cmOutputConverter::ConvertToRelativePath( std::string const& local_path, std::string const& remote_path) const { // The paths should never be quoted. diff --git a/Source/cmOutputConverter.h b/Source/cmOutputConverter.h index 5979eaa..fd887ae 100644 --- a/Source/cmOutputConverter.h +++ b/Source/cmOutputConverter.h @@ -101,17 +101,6 @@ public: /** * Convert the given remote path to a relative path with respect to - * the given local path. The local path must be given in component - * form (see SystemTools::SplitPath) without a trailing slash. The - * remote path must use forward slashes and not already be escaped - * or quoted. - */ - std::string ConvertToRelativePath(const std::vector<std::string>& local, - const std::string& in_remote, - bool force = false) const; - - /** - * Convert the given remote path to a relative path with respect to * the given local path. Both paths must use forward slashes and not * already be escaped or quoted. * The conversion is skipped if the paths are not both in the source |