Mother of god; do not require C++20
This commit is contained in:
@@ -60,7 +60,7 @@ void runTest(unsigned int maxConsume) {
|
||||
std::abort();
|
||||
}
|
||||
|
||||
if (chunks[chunkOffset].starts_with(chunk)) {
|
||||
if (chunks[chunkOffset].substr(0, chunk.length()) == chunk /*starts_with(chunk)*/) {
|
||||
chunks[chunkOffset].remove_prefix(chunk.length());
|
||||
if (!chunks[chunkOffset].length()) {
|
||||
chunkOffset++;
|
||||
|
||||
Reference in New Issue
Block a user