diff options
Diffstat (limited to 'src/debug_utils.h')
-rw-r--r-- | src/debug_utils.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/debug_utils.h b/src/debug_utils.h index 034d8a9ab3..ed5e42fcbe 100644 --- a/src/debug_utils.h +++ b/src/debug_utils.h @@ -68,9 +68,7 @@ template <typename... Args> inline void FORCE_INLINE Debug(AsyncWrap* async_wrap, const char* format, Args&&... args) { -#ifdef DEBUG - CHECK_NOT_NULL(async_wrap); -#endif + DCHECK_NOT_NULL(async_wrap); DebugCategory cat = static_cast<DebugCategory>(async_wrap->provider_type()); if (!UNLIKELY(async_wrap->env()->debug_enabled(cat))) |