Skip to content

Commit

Permalink
span context added back empty constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
Tianlin-Zhao committed Aug 5, 2020
1 parent a78b5d1 commit 17d8c3e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions api/include/opentelemetry/trace/span_context.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@ class SpanContext final
public:
// An invalid SpanContext.
SpanContext() noexcept
: trace_flags_(trace::TraceFlags((uint8_t)false)),
: trace_flags_(trace::TraceFlags((uint8_t) false)),
trace_state_(new TraceState),
emote_parent_(false){};
remote_parent_(false){};

SpanContext(bool sampled_flag, bool has_remote_parent) noexcept
: trace_flags_(trace::TraceFlags((uint8_t)sampled_flag)),
Expand Down

0 comments on commit 17d8c3e

Please sign in to comment.