Skip to content

Commit

Permalink
Update function header
Browse files Browse the repository at this point in the history
  • Loading branch information
nholbrook committed Jul 8, 2020
1 parent 5da56b6 commit d930347
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions sdk/src/trace/samplers/probability.cc
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,9 @@ ProbabilitySampler::ProbabilitySampler(double probability)
SamplingResult ProbabilitySampler::ShouldSample(
const SpanContext *parent_context,
trace_api::TraceId trace_id,
nostd::string_view name,
trace_api::SpanKind span_kind,
const trace_api::KeyValueIterable &attributes) noexcept
nostd::string_view /*name*/,
trace_api::SpanKind /*span_kind*/,
const trace_api::KeyValueIterable & /*attributes*/) noexcept
{
if (parent_context && !parent_context->is_remote) {
if (parent_context->sampled) {
Expand Down

0 comments on commit d930347

Please sign in to comment.