diff options
author | Stephen Kelly <steveire@gmail.com> | 2016-08-27 17:01:20 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2016-09-19 19:36:15 (GMT) |
commit | 6429d6d9dd94523c75e982fa875028e3e32a0629 (patch) | |
tree | a372a3a65bca8a2ffba4ceef87bb43929a08bfa3 /Source/cmOutputConverter.cxx | |
parent | ad79061720b8f68cd8e406aadd240d233d2a1073 (diff) | |
download | CMake-6429d6d9dd94523c75e982fa875028e3e32a0629.zip CMake-6429d6d9dd94523c75e982fa875028e3e32a0629.tar.gz CMake-6429d6d9dd94523c75e982fa875028e3e32a0629.tar.bz2 |
cmOutputConverter: Remove now-obsolete Convert method
Diffstat (limited to 'Source/cmOutputConverter.cxx')
-rw-r--r-- | Source/cmOutputConverter.cxx | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/Source/cmOutputConverter.cxx b/Source/cmOutputConverter.cxx index dca0e1d..7f6edf2 100644 --- a/Source/cmOutputConverter.cxx +++ b/Source/cmOutputConverter.cxx @@ -46,29 +46,6 @@ std::string cmOutputConverter::ConvertToOutputForExisting( return this->ConvertToOutputFormat(remote, format); } -std::string cmOutputConverter::ConvertToRelativePath( - const std::string& source, RelativeRoot relative) const -{ - std::string result; - - switch (relative) { - case START_OUTPUT: - result = this->StateSnapshot.GetDirectory().GetCurrentBinary(); - break; - } - - return this->ConvertToRelativePath(result, source); -} - -std::string cmOutputConverter::Convert(const std::string& source, - RelativeRoot relative, - OutputFormat output) const -{ - // Convert the path to a relative path. - std::string result = this->ConvertToRelativePath(source, relative); - return this->ConvertToOutputFormat(result, output); -} - std::string cmOutputConverter::ConvertToOutputFormat(const std::string& source, OutputFormat output) const { |