diff --git a/examples/otlp/http_instrumented_main.cc b/examples/otlp/http_instrumented_main.cc index 7c6068f596..5084a6a5f6 100644 --- a/examples/otlp/http_instrumented_main.cc +++ b/examples/otlp/http_instrumented_main.cc @@ -4,7 +4,7 @@ #include #include #include -#include +#include // IWYU pragma: keep #include #include @@ -58,10 +58,10 @@ namespace { -std::mutex serialize; - #ifdef ENABLE_THREAD_INSTRUMENTATION_PREVIEW +std::mutex serialize; + /** The purpose of MyThreadInstrumentation is to demonstrate how notifications are delivered to the application.