MCPcopy Create free account
hub / github.com/deskflow/deskflow / cmpLess

Method cmpLess

src/lib/base/String.cpp:161–165  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

159}
160
161bool CaselessCmp::cmpLess(const std::string::value_type &a, const std::string::value_type &b)
162{
163 // should use std::tolower but not in all versions of libstdc++ have it
164 return tolower(a) < tolower(b);
165}
166
167} // namespace deskflow::string

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected