From 5aca066c5bbb7263624eb140378dd2f49e9d80ec Mon Sep 17 00:00:00 2001 From: Stephen Kelly Date: Sat, 27 Aug 2016 13:44:57 +0200 Subject: Convert: Remove UNCHANGED enum value It is no longer used. --- Source/cmCommonTargetGenerator.h | 6 +++--- Source/cmOutputConverter.h | 3 +-- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/Source/cmCommonTargetGenerator.h b/Source/cmCommonTargetGenerator.h index d3f9d64..b433c18 100644 --- a/Source/cmCommonTargetGenerator.h +++ b/Source/cmCommonTargetGenerator.h @@ -57,9 +57,9 @@ protected: // The windows module definition source file (.def), if any. cmSourceFile const* ModuleDefinitionFile; - std::string Convert( - std::string const& source, cmOutputConverter::RelativeRoot relative, - cmOutputConverter::OutputFormat output = cmOutputConverter::UNCHANGED); + std::string Convert(std::string const& source, + cmOutputConverter::RelativeRoot relative, + cmOutputConverter::OutputFormat output); void AppendFortranFormatFlags(std::string& flags, cmSourceFile const& source); diff --git a/Source/cmOutputConverter.h b/Source/cmOutputConverter.h index c2403db..9af9659 100644 --- a/Source/cmOutputConverter.h +++ b/Source/cmOutputConverter.h @@ -45,7 +45,6 @@ public: }; enum OutputFormat { - UNCHANGED, MAKERULE, SHELL, WATCOMQUOTE, @@ -54,7 +53,7 @@ public: std::string ConvertToOutputFormat(const std::string& source, OutputFormat output) const; std::string Convert(const std::string& remote, RelativeRoot local, - OutputFormat output = UNCHANGED) const; + OutputFormat output) const; std::string ConvertToRelativePath(const std::string& remote, RelativeRoot local) const; std::string ConvertDirectorySeparatorsForShell( -- cgit v0.12