Fix typeo in previous commit

This commit is contained in:
Phil Christensen
2016-11-28 23:05:27 -08:00
parent aaefa4e0e0
commit 049f848a40
2 changed files with 3 additions and 3 deletions

View File

@@ -401,7 +401,7 @@ namespace Clara {
}
inline void convertInto( std::string const& _source, bool& _dest ) {
std::string sourceLC = _source;
std::transform( sourceLC.begin(), sourceLC.end(), sourceLC.begin(), tolowerCh );
std::transform( sourceLC.begin(), sourceLC.end(), sourceLC.begin(), toLowerCh );
if( sourceLC == "y" || sourceLC == "1" || sourceLC == "true" || sourceLC == "yes" || sourceLC == "on" )
_dest = true;
else if( sourceLC == "n" || sourceLC == "0" || sourceLC == "false" || sourceLC == "no" || sourceLC == "off" )