提交 55c66c7c 编写于 作者: B Behdad Esfahbod

Revert "Declare Null() constexpr"

This reverts commit 442a72d9.

Doesn't make sense.  No idea how my local compilers where happy with it!
上级 98c6f03c
......@@ -43,7 +43,7 @@ hb_vector_size_impl_t const _hb_NullPool[(HB_NULL_POOL_SIZE + sizeof (hb_vector_
/* Generic nul-content Null objects. */
template <typename Type>
static inline constexpr Type const & Null (void) {
static inline Type const & Null (void) {
static_assert (sizeof (Type) <= HB_NULL_POOL_SIZE, "Increase HB_NULL_POOL_SIZE.");
return *reinterpret_cast<Type const *> (_hb_NullPool);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册