diff options
author | 2017-12-19 15:33:06 -0800 | |
---|---|---|
committer | 2017-12-20 11:26:53 -0800 | |
commit | 13a3e8cc2a42070ef8a14dc6b22c37cfc45fecaa (patch) | |
tree | 5b25bda079423fe8fb33a1d2d085685a35869c6f | |
parent | 0dd982cf4c409d072f2b1c537d65f93001cc0f77 (diff) |
Add namespace to macro expansion
-rw-r--r-- | src/core/lib/support/debug_location.h | 4 |
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 |