diff --git a/api/include/opentelemetry/context/context.h b/api/include/opentelemetry/context/context.h index c08e216ea8..78e0134f31 100644 --- a/api/include/opentelemetry/context/context.h +++ b/api/include/opentelemetry/context/context.h @@ -22,7 +22,12 @@ class Context{ }; - +/* The token class provides an identifier that is used by + * the RuntimeContext attach and detach methods to keep track of context + * objects.*/ +class Token{ + Token(); +}; /* The RuntimeContext class provides a wrapper for @@ -30,15 +35,6 @@ class Context{ class RuntimeContext { public: - - /* The token class provides an identifier that is used by - * the attach and detach methods to keep track of context - * objects.*/ - class Token{ - Token(); - }; - - /* RuntimeContext: A constructor that will set the current * context to the threading local. */