[grpc][Gpr_To_Absl_Logging] Migrating from gpr to absl logging GPR_ASSERT
Replaced GPR_DEBUG_ASSERT with absl DCHECK. We dont need GPR_DEBUG_ASSERT definition anymore. PiperOrigin-RevId: 632463102
This commit is contained in:
parent
1bfca77696
commit
57b7e7780e
|
|
@ -99,12 +99,6 @@ GPRAPI void gpr_assertion_failed(const char* filename, int line,
|
||||||
} \
|
} \
|
||||||
} while (0)
|
} while (0)
|
||||||
|
|
||||||
#ifndef NDEBUG
|
|
||||||
#define GPR_DEBUG_ASSERT(x) GPR_ASSERT(x)
|
|
||||||
#else
|
|
||||||
#define GPR_DEBUG_ASSERT(x) GPR_ASSERT(true || (x))
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue