Skip to content

Commit

Permalink
Fix misc-misplaced-const clang-tidy warning
Browse files Browse the repository at this point in the history
Signed-off-by: Azat Khuzhin <[email protected]>
  • Loading branch information
azat committed May 9, 2023
1 parent 0610865 commit d8dd50a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Processors/Formats/Impl/TemplateRowInputFormat.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand Down

0 comments on commit d8dd50a

Please sign in to comment.