Skip to content

Commit 32a52eb

Browse files
committed
Mute or fix some checks improved in clang-tidy20 in userver
commit_hash:05e9723e93b890c124a02bbc7770cf6318bf416c
1 parent 199bf5e commit 32a52eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/server/middlewares/tracing.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ void Tracing::HandleRequest(http::HttpRequest& request, request::RequestContext&
8989
}
9090

9191
tracing::Span Tracing::MakeSpan(const http::HttpRequest& http_request, std::string_view meta_type) const {
92-
const std::string* handler_path = std::get_if<std::string>(&handler_.GetConfig().path);
92+
const auto* handler_path = std::get_if<std::string>(&handler_.GetConfig().path);
9393
std::string span_name;
9494

9595
if (handler_path != nullptr) {

0 commit comments

Comments
 (0)