Skip to content

Commit

Permalink
tracer
Browse files Browse the repository at this point in the history
  • Loading branch information
Tianlin-Zhao committed Jul 31, 2020
1 parent e602890 commit 1a5d792
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions api/include/opentelemetry/trace/default_tracer.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,7 @@ class DefaultTracer: public Tracer {
const KeyValueIterable &attributes,
const StartSpanOptions &options = {}) noexcept
{
return nostd::unique_ptr<Span>(nullptr);
// return DefaultSpan::GetInvalid();
return nostd::unique_ptr<Span>(new DefaultSpan::GetInvalid());
}

void ForceFlushWithMicroseconds(uint64_t timeout) noexcept
Expand Down

0 comments on commit 1a5d792

Please sign in to comment.