aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/lib/debug/trace.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/lib/debug/trace.h')
-rw-r--r--src/core/lib/debug/trace.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/lib/debug/trace.h b/src/core/lib/debug/trace.h
index 5ed52454bd..4623494520 100644
--- a/src/core/lib/debug/trace.h
+++ b/src/core/lib/debug/trace.h
@@ -53,7 +53,8 @@ void grpc_tracer_enable_flag(grpc_core::TraceFlag* flag);
class TraceFlag {
public:
TraceFlag(bool default_enabled, const char* name);
- ~TraceFlag() {}
+ // This needs to be trivially destructible as it is used as global variable.
+ ~TraceFlag() = default;
const char* name() const { return name_; }