summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTreehugger Robot <treehugger-gerrit@google.com>2019-11-07 00:18:29 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2019-11-07 00:18:29 +0000
commita8854d34607d6fce99f31e5d166e2a66d55a7bdc (patch)
tree4cad99238aecd958f1a369e9ba8bbae2db80a252
parent0a4fcfb9cf787f0b74b171b66a4f2e920751f765 (diff)
parent5f46923634e87fecaa290fd25782b45903090f5e (diff)
Merge "Trace.h: explicitly use global namespace"
-rw-r--r--libutils/include/utils/Trace.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libutils/include/utils/Trace.h b/libutils/include/utils/Trace.h
index fec0ffa82..9986bf5f9 100644
--- a/libutils/include/utils/Trace.h
+++ b/libutils/include/utils/Trace.h
@@ -33,7 +33,7 @@
// ATRACE_NAME traces from its location until the end of its enclosing scope.
#define _PASTE(x, y) x ## y
#define PASTE(x, y) _PASTE(x,y)
-#define ATRACE_NAME(name) android::ScopedTrace PASTE(___tracer, __LINE__) (ATRACE_TAG, name)
+#define ATRACE_NAME(name) ::android::ScopedTrace PASTE(___tracer, __LINE__)(ATRACE_TAG, name)
// ATRACE_CALL is an ATRACE_NAME that uses the current function name.
#define ATRACE_CALL() ATRACE_NAME(__FUNCTION__)