MCPcopy Create free account
hub / github.com/HumbleNet/HumbleNet / toLower

Function toLower

tests/test_peer.cpp:159–168  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

157
158#ifndef EMSCRIPTEN
159std::string toLower(const std::string& in)
160{
161 std::locale loc;
162 std::string out;
163
164 for (auto c: in) {
165 out.push_back(std::tolower(c, loc));
166 }
167 return out;
168}
169
170void readInput(std::atomic<bool>& run)
171{

Callers 1

readInputFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected