summaryrefslogtreecommitdiffstats
path: root/Source/cmOutputConverter.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2016-08-27 11:44:51 (GMT)
committerStephen Kelly <steveire@gmail.com>2016-08-27 11:44:51 (GMT)
commit9440d5776bf48778d452e2d3a48d4e93d7b6f7a7 (patch)
tree288f54f62a74453ecdccce3a71dc6ceddcc62ffb /Source/cmOutputConverter.cxx
parent21c946eef4e11e6161cc46b265fbeb128ea1baf7 (diff)
downloadCMake-9440d5776bf48778d452e2d3a48d4e93d7b6f7a7.zip
CMake-9440d5776bf48778d452e2d3a48d4e93d7b6f7a7.tar.gz
CMake-9440d5776bf48778d452e2d3a48d4e93d7b6f7a7.tar.bz2
Convert: Remove unused overload
Diffstat (limited to 'Source/cmOutputConverter.cxx')
-rw-r--r--Source/cmOutputConverter.cxx21
1 files changed, 0 insertions, 21 deletions
diff --git a/Source/cmOutputConverter.cxx b/Source/cmOutputConverter.cxx
index 411184c..47c2928 100644
--- a/Source/cmOutputConverter.cxx
+++ b/Source/cmOutputConverter.cxx
@@ -146,27 +146,6 @@ std::string cmOutputConverter::ConvertDirectorySeparatorsForShell(
return result;
}
-std::string cmOutputConverter::Convert(RelativeRoot remote,
- const std::string& local,
- OutputFormat output) 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);
-
- if (local.empty()) {
- return this->ConvertToOutputFormat(remotePath, output);
- }
-
- std::vector<std::string> components;
- cmSystemTools::SplitPath(local, components);
- std::string result = this->ConvertToRelativePath(components, remotePath);
- return this->ConvertToOutputFormat(result, output);
-}
-
static bool cmOutputConverterNotAbove(const char* a, const char* b)
{
return (cmSystemTools::ComparePath(a, b) ||