aboutsummaryrefslogtreecommitdiffstats
path: root/library
diff options
context:
space:
mode:
authoralshabalin <alshabalin@yandex-team.ru>2022-02-10 16:50:42 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:50:42 +0300
commitb96eac33e622ada806e6a060571dad1674dbf6d7 (patch)
tree5d5cb817648f650d76cf1076100726fd9b8448e8 /library
parent020981ef3a489bf302730bf30ecbddda2848b2ca (diff)
downloadydb-b96eac33e622ada806e6a060571dad1674dbf6d7.tar.gz
Restoring authorship annotation for <alshabalin@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library')
-rw-r--r--library/cpp/actors/wilson/wilson_trace.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/library/cpp/actors/wilson/wilson_trace.h b/library/cpp/actors/wilson/wilson_trace.h
index 91292cca97..3d1ca50562 100644
--- a/library/cpp/actors/wilson/wilson_trace.h
+++ b/library/cpp/actors/wilson/wilson_trace.h
@@ -41,12 +41,12 @@ namespace NWilson {
{
}
- explicit TTraceId(ui64 traceId)
- : TraceId(traceId)
- , SpanId(0)
- {
- }
-
+ explicit TTraceId(ui64 traceId)
+ : TraceId(traceId)
+ , SpanId(0)
+ {
+ }
+
TTraceId(const TSerializedTraceId& in)
: TraceId(reinterpret_cast<const ui64*>(in)[0])
, SpanId(reinterpret_cast<const ui64*>(in)[1])
@@ -91,10 +91,10 @@ namespace NWilson {
return *this ? TTraceId(TraceId, GenerateSpanId()) : TTraceId();
}
- ui64 GetTraceId() const {
- return TraceId;
- }
-
+ ui64 GetTraceId() const {
+ return TraceId;
+ }
+
// Check if request tracing is enabled
operator bool() const {
return TraceId != 0;