aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoratgshka <atgshka@yandex-team.com>2024-06-20 17:15:13 +0300
committeratgshka <atgshka@yandex-team.com>2024-06-20 17:53:03 +0300
commitdf477bd7c6f30ecfeefc17bf6e059ef9ba3be1fb (patch)
treefcbde9c594c795123f210225a96202e24b422b5e
parentbbce8d162e75ac65a1f2640015cdd9002e58ff7d (diff)
downloadydb-df477bd7c6f30ecfeefc17bf6e059ef9ba3be1fb.tar.gz
fix building for clang14
fix clang14 failure ffa54e6bb96c31e7a6865cb10578ea18d40079ae
-rw-r--r--yt/yt/core/tracing/trace_context.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/yt/yt/core/tracing/trace_context.cpp b/yt/yt/core/tracing/trace_context.cpp
index 23a7f1e3b1..b048be561b 100644
--- a/yt/yt/core/tracing/trace_context.cpp
+++ b/yt/yt/core/tracing/trace_context.cpp
@@ -744,7 +744,7 @@ void TTraceContextHandler::UpdateTraceContext()
std::optional<TTracingAttributes> TTraceContextHandler::GetTracingAttributes() const
{
return TraceContext_
- ? std::make_optional<TTracingAttributes>(TraceContext_->GetTraceId(), TraceContext_->GetSpanId())
+ ? std::make_optional<TTracingAttributes>({.TraceId = TraceContext_->GetTraceId(), .SpanId = TraceContext_->GetSpanId()})
: std::nullopt;
}