Skip to content

Commit

Permalink
added a constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
satac2 committed Jun 8, 2020
1 parent a17c028 commit d2df2ac
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions api/include/opentelemetry/context/context.h
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*
Expand Down

0 comments on commit d2df2ac

Please sign in to comment.