Fix misc-misplaced-const clang-tidy warning

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
This commit is contained in:
Azat Khuzhin 2023-05-09 21:27:21 +02:00
parent 0610865811
commit d8dd50a9c6

View File

@ -169,7 +169,7 @@ bool TemplateRowInputFormat::parseRowAndPrintDiagnosticInfo(MutableColumns & col
{
out << "Suffix does not match: ";
size_t last_successfully_parsed_idx = format_reader->getFormatDataIdx() + 1;
const ReadBuffer::Position row_begin_pos = buf->position();
auto * const row_begin_pos = buf->position();
bool caught = false;
try
{