mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-12 17:51:28 +00:00
Try to make appveyor happy
This commit is contained in:
parent
d215ccfa8c
commit
020b144449
@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user