compiles! Still working on tokens

This commit is contained in:
2026-07-19 13:45:05 -06:00
parent c964f1e9eb
commit 29784ea152
11 changed files with 204 additions and 487 deletions
+1 -1
View File
@@ -109,7 +109,7 @@ namespace spider {
void TextReader::commit() {
if (bufferIndex > 0) {
// Erase everything before the current buffer index
buffer.erase(buffer.begin(), buffer.begin() + bufferIndex);
buffer.erase(buffer.begin(), buffer.begin() + std::ptrdiff_t(bufferIndex));
bufferIndex = 0;
}
}