Skip to content

Commit f5138e6

Browse files
domwstmarsaly79
authored andcommitted
Moved TSpan::Link(TraceId) implementation to .cpp (ydb-platform#674)
1 parent 32d54e5 commit f5138e6

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

ydb/library/actors/wilson/wilson_span.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,10 @@ namespace NWilson {
5252
SerializeValue(std::move(value), pb->mutable_value());
5353
}
5454

55+
TSpan& TSpan::Link(const TTraceId& traceId) {
56+
return Link(traceId, {});
57+
}
58+
5559
void TSpan::Send() {
5660
Data->ActorSystem->Send(new IEventHandle(MakeWilsonUploaderId(), {}, new TEvWilson(&Data->Span)));
5761
Data->Sent = true;

ydb/library/actors/wilson/wilson_span.h

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -214,9 +214,7 @@ namespace NWilson {
214214
return *this;
215215
}
216216

217-
TSpan& Link(const TTraceId& traceId) {
218-
return Link(traceId, {});
219-
}
217+
TSpan& Link(const TTraceId& traceId);
220218

221219
void EndOk() {
222220
if (Y_UNLIKELY(*this)) {

0 commit comments

Comments
 (0)