From b86007e385fc0f4cc45149b68cafebad749bf6e8 Mon Sep 17 00:00:00 2001 From: Daniel Pfeifer Date: Mon, 20 Jun 2016 22:31:57 +0200 Subject: cmOutputConverter: remove 'optional' argument Remove the 'optional' paramenter from the second overload of the Convert function. This parameter is used from one single location. Inline the codepath for which the argument is true to the callsite. --- Source/cmOutputConverter.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'Source/cmOutputConverter.h') diff --git a/Source/cmOutputConverter.h b/Source/cmOutputConverter.h index f138d0e897..f661572409 100644 --- a/Source/cmOutputConverter.h +++ b/Source/cmOutputConverter.h @@ -58,8 +58,7 @@ public: std::string Convert(const std::string& remote, RelativeRoot local, OutputFormat output = UNCHANGED) const; std::string Convert(RelativeRoot remote, const std::string& local, - OutputFormat output = UNCHANGED, - bool optional = false) const; + OutputFormat output = UNCHANGED) const; std::string ConvertDirectorySeparatorsForShell( const std::string& source) const; -- cgit v1.2.1