MCPcopy Create free account
hub / github.com/PolyMC/PolyMC / getNextChar

Function getNextChar

launcher/MMCStrings.cpp:4–7  ·  view source on GitHub ↗

TAKEN FROM Qt, because it doesn't expose it intelligently

Source from the content-addressed store, hash-verified

2
3/// TAKEN FROM Qt, because it doesn't expose it intelligently
4static inline QChar getNextChar(const QString &s, int location)
5{
6 return (location < s.length()) ? s.at(location) : QChar();
7}
8
9/// TAKEN FROM Qt, because it doesn't expose it intelligently
10int Strings::naturalCompare(const QString &s1, const QString &s2, Qt::CaseSensitivity cs)

Callers 1

naturalCompareMethod · 0.85

Calls 2

lengthMethod · 0.80
atMethod · 0.45

Tested by

no test coverage detected