Skip to content

Commit

Permalink
Merge pull request #17 from Tianlin-Zhao/origin/propagators
Browse files Browse the repository at this point in the history
tracer
  • Loading branch information
Tianlin-Zhao authored Aug 1, 2020
2 parents 5026789 + fe62212 commit 92f0e0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/include/opentelemetry/plugin/tracer.h
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ class Span final : public trace::Span

bool IsRecording() const noexcept override { return span_->IsRecording(); }

trace::SpanContext GetContext() { return span_->GetContext(); }
trace::SpanContext GetContext() const noexcept { return span_->GetContext(); }

private:
std::shared_ptr<trace::Tracer> tracer_;
Expand Down

0 comments on commit 92f0e0f

Please sign in to comment.