summaryrefslogtreecommitdiffstats
path: root/Source/cmOutputConverter.cxx
diff options
context:
space:
mode:
authorDaniel Pfeifer <daniel@pfeifer-mail.de>2016-06-16 21:25:43 (GMT)
committerStephen Kelly <steveire@gmail.com>2016-10-06 16:45:18 (GMT)
commit51bc6bddb91283da25d098492c9cc1b50e3008fc (patch)
tree6a609f790f11244c19ce474901a004298e423513 /Source/cmOutputConverter.cxx
parent8e0c1599a1015cf80c4db35d108509986236b756 (diff)
downloadCMake-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.
Diffstat (limited to 'Source/cmOutputConverter.cxx')
-rw-r--r--Source/cmOutputConverter.cxx9
1 files changed, 0 insertions, 9 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.