1
0
mirror of https://github.com/OpenTTD/OpenTTD synced 2026-01-16 08:52:40 +01:00

Codefix: Comment style. (#14064)

This commit is contained in:
frosch
2025-04-21 17:25:09 +02:00
committed by GitHub
parent 5b2754fdee
commit 2a62eea005
29 changed files with 64 additions and 62 deletions

View File

@@ -570,7 +570,7 @@ public:
size_t buffer_size = this->buffer.size();
size_t read_size = Align(min_size - buffer_size, 4096); // read pages of 4096 bytes
// TODO C++23: use std::string::resize_and_overwrite()
/* TODO C++23: use std::string::resize_and_overwrite() */
this->buffer.resize(buffer_size + read_size);
auto dest = std::span(this->buffer.data(), this->buffer.size()).subspan(buffer_size);
buffer_size += this->ReadInternal(dest);