Skip to content

Commit

Permalink
fix clang-tidy warning
Browse files Browse the repository at this point in the history
  • Loading branch information
t-horikawa committed Jan 8, 2025
1 parent 25fcd90 commit d5a9867
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tateyama/request/request.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ tgctl::return_code request_extract_sql(std::size_t session_id, std::string_view
if (response_opt) {
auto response = response_opt.value();
if (response.response_case() == ::jogasaki::proto::sql::response::Response::ResponseCase::kExtractStatementInfo) {
auto extract_statement_info = response.extract_statement_info();
const auto& extract_statement_info = response.extract_statement_info();
switch(extract_statement_info.result_case()) {
case ::jogasaki::proto::sql::response::ExtractStatementInfo::ResultCase::kSuccess:
break;
Expand Down

0 comments on commit d5a9867

Please sign in to comment.