MCPcopy Create free account
hub / github.com/OpenSteam001/OpenSteamTool / Lower

Function Lower

src/OSTPlatform/Windows/RemoteProcess.cpp:53–58  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

51}
52
53std::wstring Lower(std::wstring value) {
54 for (wchar_t& ch : value) {
55 if (ch >= L'A' && ch <= L'Z') ch = static_cast<wchar_t>(ch - L'A' + L'a');
56 }
57 return value;
58}
59
60bool EqualsInsensitive(std::wstring_view lhs, std::wstring_view rhs) {
61 return Lower(std::wstring(lhs)) == Lower(std::wstring(rhs));

Callers 1

EqualsInsensitiveFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected