aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar David Garcia Quintas <dgq@google.com>2017-12-19 15:33:06 -0800
committerGravatar David Garcia Quintas <dgq@google.com>2017-12-20 11:26:53 -0800
commit13a3e8cc2a42070ef8a14dc6b22c37cfc45fecaa (patch)
tree5b25bda079423fe8fb33a1d2d085685a35869c6f
parent0dd982cf4c409d072f2b1c537d65f93001cc0f77 (diff)
Add namespace to macro expansion
-rw-r--r--src/core/lib/support/debug_location.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/lib/support/debug_location.h b/src/core/lib/support/debug_location.h
index 0939da595d..9b3f9220fc 100644
--- a/src/core/lib/support/debug_location.h
+++ b/src/core/lib/support/debug_location.h
@@ -36,7 +36,7 @@ class DebugLocation {
const char* file_;
const int line_;
};
-#define DEBUG_LOCATION DebugLocation(__FILE__, __LINE__)
+#define DEBUG_LOCATION ::grpc_core::DebugLocation(__FILE__, __LINE__)
#else
class DebugLocation {
public:
@@ -44,7 +44,7 @@ class DebugLocation {
const char* file() const { return nullptr; }
int line() const { return -1; }
};
-#define DEBUG_LOCATION DebugLocation()
+#define DEBUG_LOCATION ::grpc_core::DebugLocation()
#endif
} // namespace grpc_core