From e7cfe0ae67272cd27976bf90a2c0f98f4650d8f5 Mon Sep 17 00:00:00 2001 From: owent Date: Tue, 29 Mar 2022 16:28:35 +0800 Subject: [PATCH] There is no need to virtual drived from `BoundUpDownCounter` Signed-off-by: owent --- sdk/include/opentelemetry/sdk/_metrics/sync_instruments.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdk/include/opentelemetry/sdk/_metrics/sync_instruments.h b/sdk/include/opentelemetry/sdk/_metrics/sync_instruments.h index 80d9b6092d..3d2260fa53 100644 --- a/sdk/include/opentelemetry/sdk/_metrics/sync_instruments.h +++ b/sdk/include/opentelemetry/sdk/_metrics/sync_instruments.h @@ -190,7 +190,7 @@ class Counter final : public SynchronousInstrument, public opentelemetry::met template class BoundUpDownCounter final : public BoundSynchronousInstrument, - virtual public opentelemetry::metrics::BoundUpDownCounter + public opentelemetry::metrics::BoundUpDownCounter { public: