Skip to content

Commit

Permalink
tracer
Browse files Browse the repository at this point in the history
  • Loading branch information
Tianlin-Zhao committed Jul 30, 2020
1 parent 7a2d5f2 commit 69fc0d6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion api/include/opentelemetry/trace/default_span.h
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ class DefaultSpan: public Span {
DefaultSpan(const DefaultSpan& spn) : span_context_(spn.GetContext()) {}

trace::Tracer &tracer() const noexcept {
return Tracer();
return DefaultTracer();
}

private:
Expand Down
2 changes: 1 addition & 1 deletion api/include/opentelemetry/trace/span.h
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ struct EndSpanOptions
};

class Tracer;

class DefaultTracer;
/**
* A Span represents a single operation within a Trace.
*/
Expand Down

0 comments on commit 69fc0d6

Please sign in to comment.