summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2016-08-27 11:44:57 (GMT)
committerStephen Kelly <steveire@gmail.com>2016-08-27 13:41:17 (GMT)
commit5aca066c5bbb7263624eb140378dd2f49e9d80ec (patch)
tree62ddeec7b89cff9ff47ab42d32ad6c1da312d4e5 /Source
parent146bf9267ca88831d7cff4d121f414a3a73e26de (diff)
downloadCMake-5aca066c5bbb7263624eb140378dd2f49e9d80ec.zip
CMake-5aca066c5bbb7263624eb140378dd2f49e9d80ec.tar.gz
CMake-5aca066c5bbb7263624eb140378dd2f49e9d80ec.tar.bz2
Convert: Remove UNCHANGED enum value
It is no longer used.
Diffstat (limited to 'Source')
-rw-r--r--Source/cmCommonTargetGenerator.h6
-rw-r--r--Source/cmOutputConverter.h3
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(