From 61c5675c11008491fa217d9129297b9580d23196 Mon Sep 17 00:00:00 2001 From: Phil Nash Date: Tue, 15 Aug 2017 19:34:10 +0100 Subject: [PATCH] Removed inadvertent use of auto merged from dev-modernise --- include/internal/catch_commandline.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/internal/catch_commandline.hpp b/include/internal/catch_commandline.hpp index a5b09695..bdb3f66b 100644 --- a/include/internal/catch_commandline.hpp +++ b/include/internal/catch_commandline.hpp @@ -77,7 +77,7 @@ namespace Catch { throw std::runtime_error( "colour mode must be one of: auto, yes or no" ); } inline void setWaitForKeypress( ConfigData& config, std::string const& keypress ) { - auto keypressLc = toLower( keypress ); + std::string keypressLc = toLower( keypress ); if( keypressLc == "start" ) config.waitForKeypress = WaitForKeypress::BeforeStart; else if( keypressLc == "exit" )