From d2df2acb429113c1057683870f0788879154ac05 Mon Sep 17 00:00:00 2001 From: Sam Atac Date: Mon, 8 Jun 2020 18:56:48 +0000 Subject: [PATCH] added a constructor --- api/include/opentelemetry/context/context.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/api/include/opentelemetry/context/context.h b/api/include/opentelemetry/context/context.h index a97f55db1d..ff99ebf3ed 100644 --- a/api/include/opentelemetry/context/context.h +++ b/api/include/opentelemetry/context/context.h @@ -33,6 +33,14 @@ class Token{ class RuntimeContext { public: + + /* RuntimeContext: A constructor that will set the current + * context to the threading local. + * + * Args: None. + */ + RuntimeContext(); + /* attach: Sets the current 'Context' object. Returns a token * that can be used to reset to the previous Context. *