We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ec10f8a + 4ba23ba commit c663b42Copy full SHA for c663b42
api/include/opentelemetry/context/runtime_context.h
@@ -26,11 +26,11 @@ class Token
26
public:
27
bool operator==(const Context &other) const noexcept { return context_ == other; }
28
29
- ~Token() noexcept;
+ virtual ~Token() noexcept;
30
31
-private:
32
friend class RuntimeContextStorage;
33
+protected:
34
// A constructor that sets the token's Context object to the
35
// one that was passed in.
36
Token(const Context &context) : context_(context) {}
0 commit comments