diff --git a/src/tracing/esp32_trace/BUILD.gn b/src/tracing/esp32_trace/BUILD.gn index cb41004a74289b..bd341ed1e7b7b7 100644 --- a/src/tracing/esp32_trace/BUILD.gn +++ b/src/tracing/esp32_trace/BUILD.gn @@ -35,4 +35,5 @@ source_set("esp32_trace_tracing") { public = [ "include/matter/tracing/macros_impl.h" ] public_configs = [ ":tracing" ] deps = [ ":backend" ] + } diff --git a/src/tracing/esp32_trace/include/matter/tracing/macros_impl.h b/src/tracing/esp32_trace/include/matter/tracing/macros_impl.h index 4d8a8a2a214525..f5217d1d54515a 100644 --- a/src/tracing/esp32_trace/include/matter/tracing/macros_impl.h +++ b/src/tracing/esp32_trace/include/matter/tracing/macros_impl.h @@ -37,11 +37,11 @@ class Scoped public: inline Scoped(const char * label, const char * group) : mLabel(label), mGroup(group) { MATTER_TRACE_BEGIN(label, group); } inline ~Scoped() { MATTER_TRACE_END(mLabel, mGroup); } - private: const char * mLabel; const char * mGroup; }; + } // namespace Insights } // namespace Tracing } // namespace chip