Try to make appveyor happy

This commit is contained in:
Akkadius 2018-11-19 02:52:53 -06:00
parent d215ccfa8c
commit 020b144449

View File

@ -88,7 +88,7 @@ const std::string str_toupper(std::string s)
{ {
std::transform( std::transform(
s.begin(), s.end(), s.begin(), s.begin(), s.end(), s.begin(),
[](unsigned char c) { return std::toupper(c); } [](unsigned char c) { return ::toupper(c); }
); );
return s; return s;
} }
@ -97,7 +97,7 @@ const std::string ucfirst(std::string s)
{ {
std::string output = s; std::string output = s;
if (!s.empty()) if (!s.empty())
output[0] = static_cast<char>(std::toupper(s[0])); output[0] = static_cast<char>(::toupper(s[0]));
return output; return output;
} }