From bcab4455c24ed03e25b6958bbdfcb7d5322d7316 Mon Sep 17 00:00:00 2001 From: Craig Hutchinson Date: Thu, 3 Dec 2015 15:52:14 +0000 Subject: [PATCH] Fixed std::tolower ambiguity --- include/internal/catch_common.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/internal/catch_common.hpp b/include/internal/catch_common.hpp index f3e1338a..45785a97 100644 --- a/include/internal/catch_common.hpp +++ b/include/internal/catch_common.hpp @@ -24,7 +24,7 @@ namespace Catch { return s.find( infix ) != std::string::npos; } void toLowerInPlace( std::string& s ) { - std::transform( s.begin(), s.end(), s.begin(), std::tolower ); + std::transform( s.begin(), s.end(), s.begin(), static_cast(std::tolower) ); } std::string toLower( std::string const& s ) { std::string lc = s;