diff options
author | ncteisen <ncteisen@gmail.com> | 2017-10-18 17:16:56 -0700 |
---|---|---|
committer | ncteisen <ncteisen@gmail.com> | 2017-10-18 17:16:56 -0700 |
commit | 3e3f806cff69a3a0a1df9f4098d76c5f13b32f38 (patch) | |
tree | 29650efd5134bb7db9ab51d5ad70af59322f9813 /src/core/lib/debug | |
parent | fcdafde9bd3990202ffc52b2c7d706d413a026fe (diff) |
Fix compile after flowctl merge
Diffstat (limited to 'src/core/lib/debug')
-rw-r--r-- | src/core/lib/debug/trace.cc | 2 | ||||
-rw-r--r-- | src/core/lib/debug/trace.h | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/core/lib/debug/trace.cc b/src/core/lib/debug/trace.cc index 52cfbe52ea..8fb6393a36 100644 --- a/src/core/lib/debug/trace.cc +++ b/src/core/lib/debug/trace.cc @@ -29,6 +29,8 @@ int grpc_tracer_set_enabled(const char *name, int enabled); namespace grpc_core { +TraceFlag* TraceFlag::root_tracer_ = nullptr; + TraceFlag::TraceFlag(bool default_enabled, const char *name) : next_tracer_(root_tracer_), name_(name), value_(default_enabled) { root_tracer_ = this; diff --git a/src/core/lib/debug/trace.h b/src/core/lib/debug/trace.h index ad12e45127..f7a6005825 100644 --- a/src/core/lib/debug/trace.h +++ b/src/core/lib/debug/trace.h @@ -47,7 +47,7 @@ namespace grpc_core { class TraceFlag { public: TraceFlag(bool default_enabled, const char *name); - ~TraceFlag(); + ~TraceFlag() { } static bool Set(const char *tracer, bool enabled); |