Commit 1e7557a6 authored by Po-Yen, Chen's avatar Po-Yen, Chen
Browse files

Use longer name to avoid name collision

parent 7fabdef2
......@@ -69,5 +69,5 @@ class ProfilerOperationRegistry final
};
#define REGISTER_PROFILER_OPERATION(name, description, operation) \
static const bool result = \
static const bool operation_registration_result_##__COUNTER__ = \
::ProfilerOperationRegistry::GetInstance().Add(name, description, operation)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment