Skip to content

Commit

Permalink
StartsWith should be available now globally as it is always used
Browse files Browse the repository at this point in the history
  • Loading branch information
andy31415 committed Jul 5, 2023
1 parent 5966484 commit 7b686f1
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions examples/common/tracing/TracingCommandLineArgument.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ namespace chip {
namespace CommandLineApp {

namespace {
#if ENABLE_PERFETTO_TRACING

bool StartsWith(CharSpan argument, const char * prefix)
{
Expand All @@ -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)
Expand Down

0 comments on commit 7b686f1

Please sign in to comment.