Skip to content

Commit

Permalink
removed unnecessary default values for Context &.
Browse files Browse the repository at this point in the history
  • Loading branch information
Tianlin-Zhao committed Jun 26, 2020
1 parent 0b4c4aa commit d37cc9a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions api/include/opentelemetry/trace/propagation/httptextformat.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,10 @@ namespace trace
namespace propagation
{

virtual static Context SetSpanInContext(Span span, Context &context = NULL) = 0;
virtual static Span GetCurrentSpan(Context &context = NULL) = 0;
// Set the span in the given context.
virtual static Context SetSpanInContext(Span span, Context &context) = 0;
// Retrieve the current span.
virtual static Span GetCurrentSpan(Context &context) = 0;

// The HTTPTextFormat class provides an interface that enables extracting and injecting
// context into headers of HTTP requests. HTTP frameworks and clients
Expand Down

0 comments on commit d37cc9a

Please sign in to comment.