Skip to content

Commit

Permalink
minor syntax change
Browse files Browse the repository at this point in the history
  • Loading branch information
Oliver Zhang committed Jun 22, 2020
1 parent fff8bda commit 82ccca0
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
7 changes: 0 additions & 7 deletions sdk/include/opentelemetry/sdk/trace/always_on_sampler.h
Original file line number Diff line number Diff line change
@@ -1,13 +1,6 @@
#pragma once

#include "opentelemetry/common/attribute_value.h"
#include "opentelemetry/sdk/common/atomic_shared_ptr.h"
#include "opentelemetry/sdk/trace/sampler.h"
#include "opentelemetry/trace/span.h"
#include "opentelemetry/trace/tracer.h"
#include "opentelemetry/version.h"

#include <memory>

OPENTELEMETRY_BEGIN_NAMESPACE
namespace sdk
Expand Down
2 changes: 1 addition & 1 deletion sdk/src/trace/always_on_sampler.cc
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ SamplingResult AlwaysOnSampler::ShouldSample(

std::string AlwaysOnSampler::GetDescription() const noexcept
{
return std::string("AlwaysOnSampler");
return "AlwaysOnSampler";
}
} // namespace trace
} // namespace sdk
Expand Down

0 comments on commit 82ccca0

Please sign in to comment.