Skip to content

Commit

Permalink
[SDK] Restore Recordable API compatibility with versions < 1.14.0 (op…
Browse files Browse the repository at this point in the history
  • Loading branch information
dbolduc authored Feb 23, 2024
1 parent 89a3d9b commit 75f34e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sdk/include/opentelemetry/sdk/trace/recordable.h
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ class Recordable
* Set the trace flags of the span.
* @param flags the flags to set
*/
virtual void SetTraceFlags(opentelemetry::trace::TraceFlags flags) noexcept = 0;
virtual void SetTraceFlags(opentelemetry::trace::TraceFlags /* flags */) noexcept {}

/**
* Set the spankind of the span.
Expand Down

0 comments on commit 75f34e6

Please sign in to comment.