From 4af97c6946435e5129e94cf507fc30f798d09e9e Mon Sep 17 00:00:00 2001 From: minqiyang Date: Fri, 21 Dec 2018 17:07:03 +0800 Subject: [PATCH] Polish code --- paddle/fluid/platform/enforce.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/paddle/fluid/platform/enforce.h b/paddle/fluid/platform/enforce.h index 5fed6b804..eee8173ba 100644 --- a/paddle/fluid/platform/enforce.h +++ b/paddle/fluid/platform/enforce.h @@ -266,7 +266,7 @@ inline void throw_on_error(T e) { if (UNLIKELY(::paddle::platform::is_error(__cond))) { \ ::paddle::platform::throw_on_error(__cond, ##__VA_ARGS__); \ } \ - } while (0) // NOLINT + } while (0) #ifndef REPLACE_ENFORCE_GLOG #define PADDLE_ENFORCE(COND, ...) \ @@ -277,7 +277,7 @@ inline void throw_on_error(T e) { throw ::paddle::platform::EnforceNotMet(std::current_exception(), \ __FILE__, __LINE__); \ } \ - } while (0) // NOLINT + } while (0) #else #define PADDLE_ENFORCE(COND, ...) __PADDLE_UNARY_COMPARE(COND, ##__VA_ARGS__); -- GitLab