diff --git a/exporters/etw/include/opentelemetry/exporters/etw/etw_random_id_generator.h b/exporters/etw/include/opentelemetry/exporters/etw/etw_random_id_generator.h index c347c44f92..f1942386fa 100644 --- a/exporters/etw/include/opentelemetry/exporters/etw/etw_random_id_generator.h +++ b/exporters/etw/include/opentelemetry/exporters/etw/etw_random_id_generator.h @@ -17,6 +17,8 @@ namespace trace class ETWRandomIdGenerator : public IdGenerator { +public: + ETWRandomIdGenerator() : IdGenerator(true) {} opentelemetry::trace::SpanId GenerateSpanId() noexcept override {