Skip to content

Commit d8dd50a

Browse files
committed
Fix misc-misplaced-const clang-tidy warning
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
1 parent 0610865 commit d8dd50a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Processors/Formats/Impl/TemplateRowInputFormat.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ bool TemplateRowInputFormat::parseRowAndPrintDiagnosticInfo(MutableColumns & col
169169
{
170170
out << "Suffix does not match: ";
171171
size_t last_successfully_parsed_idx = format_reader->getFormatDataIdx() + 1;
172-
const ReadBuffer::Position row_begin_pos = buf->position();
172+
auto * const row_begin_pos = buf->position();
173173
bool caught = false;
174174
try
175175
{

0 commit comments

Comments
 (0)