From e74c8f33f65451264d5e2331cf36e66cb05cfd1f Mon Sep 17 00:00:00 2001 From: Marc Alff Date: Fri, 12 Jan 2024 22:51:28 +0100 Subject: [PATCH] Fix ETW --- .../opentelemetry/exporters/etw/etw_random_id_generator.h | 2 ++ 1 file changed, 2 insertions(+) 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 {