From 780b26630b5a04e92e672798836c454cb4d65262 Mon Sep 17 00:00:00 2001 From: Manusha Date: Tue, 12 Oct 2021 09:34:25 +0530 Subject: [PATCH] removed template args from the contructor declarations --- .../opentelemetry/sdk/metrics/aggregator/gauge_aggregator.h | 2 +- sdk/include/opentelemetry/sdk/metrics/sync_instruments.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/sdk/include/opentelemetry/sdk/metrics/aggregator/gauge_aggregator.h b/sdk/include/opentelemetry/sdk/metrics/aggregator/gauge_aggregator.h index c74d057bd1..e953e8c619 100644 --- a/sdk/include/opentelemetry/sdk/metrics/aggregator/gauge_aggregator.h +++ b/sdk/include/opentelemetry/sdk/metrics/aggregator/gauge_aggregator.h @@ -33,7 +33,7 @@ template class GaugeAggregator : public Aggregator { public: - explicit GaugeAggregator(metrics_api::InstrumentKind kind) + explicit GaugeAggregator(metrics_api::InstrumentKind kind) { static_assert(std::is_arithmetic::value, "Not an arithmetic type"); this->kind_ = kind; diff --git a/sdk/include/opentelemetry/sdk/metrics/sync_instruments.h b/sdk/include/opentelemetry/sdk/metrics/sync_instruments.h index e97c09aa5e..1af4afdc73 100644 --- a/sdk/include/opentelemetry/sdk/metrics/sync_instruments.h +++ b/sdk/include/opentelemetry/sdk/metrics/sync_instruments.h @@ -189,9 +189,9 @@ class BoundUpDownCounter final : public BoundSynchronousInstrument, { public: - BoundUpDownCounter() = default; + BoundUpDownCounter() = default; - BoundUpDownCounter(nostd::string_view name, + BoundUpDownCounter(nostd::string_view name, nostd::string_view description, nostd::string_view unit, bool enabled)