File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -172,7 +172,7 @@ void Span::AddLinks(const opentelemetry::trace::SpanContextKeyValueIterable &lin
172172 return ;
173173 }
174174
175- links.ForEachKeyValue ([&](opentelemetry::trace::SpanContext span_context,
175+ links.ForEachKeyValue ([&](const opentelemetry::trace::SpanContext & span_context,
176176 const common::KeyValueIterable &attributes) {
177177 recordable_->AddLink (span_context, attributes);
178178 return true ;
Original file line number Diff line number Diff line change @@ -89,7 +89,7 @@ class testing::MetricCollectorTest : public Test
8989{
9090public:
9191 std::weak_ptr<MetricCollector> AddMetricReaderToMeterContext (
92- std::shared_ptr<MeterContext> context,
92+ const std::shared_ptr<MeterContext> & context,
9393 std::shared_ptr<MetricReader> reader,
9494 std::unique_ptr<MetricFilter> metric_filter = nullptr ) noexcept
9595 {
You can’t perform that action at this time.
0 commit comments