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..0c1bd1a245 100644 --- a/sdk/include/opentelemetry/sdk/metrics/sync_instruments.h +++ b/sdk/include/opentelemetry/sdk/metrics/sync_instruments.h @@ -189,12 +189,12 @@ class BoundUpDownCounter final : public BoundSynchronousInstrument, { public: - BoundUpDownCounter() = default; + BoundUpDownCounter() = default; - BoundUpDownCounter(nostd::string_view name, - nostd::string_view description, - nostd::string_view unit, - bool enabled) + BoundUpDownCounter(nostd::string_view name, + nostd::string_view description, + nostd::string_view unit, + bool enabled) : BoundSynchronousInstrument(name, description, unit,