mirror of
https://github.com/catchorg/Catch2.git
synced 2024-12-23 11:43:29 +01:00
Removed inadvertent use of auto merged from dev-modernise
This commit is contained in:
parent
70e4af9d44
commit
61c5675c11
@ -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" )
|
||||
|
Loading…
Reference in New Issue
Block a user