Skip to content

Commit

Permalink
tracer workaround
Browse files Browse the repository at this point in the history
  • Loading branch information
Tianlin-Zhao committed Jul 29, 2020
1 parent 0c0ef2a commit ffb22e7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions api/include/opentelemetry/trace/span.h
Original file line number Diff line number Diff line change
Expand Up @@ -148,12 +148,12 @@ class Span

// TODO
// SpanContext context() const noexcept = 0;
virtual trace::SpanContext GetContext() noexcept = 0;
virtual trace::SpanContext GetContext() const noexcept = 0;
// Returns true if this Span is recording tracing events (e.g. SetAttribute,
// AddEvent).
virtual bool IsRecording() const noexcept = 0;

virtual trace::Tracer &tracer() const noexcept = 0;
virtual trace::Tracer &tracer() noexcept = 0;
};
} // namespace trace
OPENTELEMETRY_END_NAMESPACE

0 comments on commit ffb22e7

Please sign in to comment.