diff --git a/include/clara.hpp b/include/clara.hpp index b4dac54..51be3e3 100644 --- a/include/clara.hpp +++ b/include/clara.hpp @@ -29,6 +29,7 @@ #include "clara_textflow.hpp" +#include #include #include #include @@ -324,7 +325,7 @@ namespace detail { } inline auto convertInto( std::string const &source, bool &target ) -> ParserResult { std::string srcLC = source; - std::transform( srcLC.begin(), srcLC.end(), srcLC.begin(), []( char c ) { return static_cast( ::tolower(c) ); } ); + std::transform( srcLC.begin(), srcLC.end(), srcLC.begin(), []( char c ) { return static_cast( std::tolower(c) ); } ); if (srcLC == "y" || srcLC == "1" || srcLC == "true" || srcLC == "yes" || srcLC == "on") target = true; else if (srcLC == "n" || srcLC == "0" || srcLC == "false" || srcLC == "no" || srcLC == "off")