catch3
Progmasoft Catch3: an independently maintained C++17 test framework with a parallel runner, property checks, snapshots and structured results.
Clonegit clone https://git.progmasoft.com/catch3
Removed inadvertent use of auto merged from dev-modernise
- Commit
61c5675c11008491fa217d9129297b9580d23196- Author
- Phil Nash ·
- Parents
70e4af9d444d
Changes
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" )