From 62e592e58b04617127619dc20b2b0c45c13eddf5 Mon Sep 17 00:00:00 2001 From: Superjom Date: Fri, 4 Aug 2017 17:17:04 +0800 Subject: [PATCH] fix ci error --- paddle/platform/enforce.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/paddle/platform/enforce.h b/paddle/platform/enforce.h index 166d7032cd8..bc0715656a7 100644 --- a/paddle/platform/enforce.h +++ b/paddle/platform/enforce.h @@ -191,7 +191,7 @@ inline void throw_on_error(T e) { // if two values have different data types, choose a compatible type for them. template struct CompatibleType { - static constexpr const bool& t1_to_t2 = std::is_convertible::value; + static const bool t1_to_t2 = std::is_convertible::value; typedef typename std::conditional::type type; }; -- GitLab