From 1119500272a881b751c08f784aff7df6b209c7a4 Mon Sep 17 00:00:00 2001 From: Andrei Litvin Date: Wed, 5 Jul 2023 10:35:23 -0400 Subject: [PATCH] StartsWith should be available now globally as it is always used --- examples/common/tracing/TracingCommandLineArgument.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/examples/common/tracing/TracingCommandLineArgument.cpp b/examples/common/tracing/TracingCommandLineArgument.cpp index bea1a86d3060b5..1ef52b6eba5b58 100644 --- a/examples/common/tracing/TracingCommandLineArgument.cpp +++ b/examples/common/tracing/TracingCommandLineArgument.cpp @@ -34,7 +34,6 @@ namespace chip { namespace CommandLineApp { namespace { -#if ENABLE_PERFETTO_TRACING bool StartsWith(CharSpan argument, const char * prefix) { @@ -48,8 +47,6 @@ bool StartsWith(CharSpan argument, const char * prefix) return argument.data_equal(CharSpan(prefix, prefix_len)); } -#endif - } // namespace void TracingSetup::EnableTracingFor(const char * cliArg)