提交 62e592e5 编写于 作者: S Superjom

fix ci error

上级 6571c3fd
......@@ -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 <typename T1, typename T2>
struct CompatibleType {
static constexpr const bool& t1_to_t2 = std::is_convertible<T1, T2>::value;
static const bool t1_to_t2 = std::is_convertible<T1, T2>::value;
typedef typename std::conditional<t1_to_t2, T2, T1>::type type;
};
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册