mirror of
https://git.h3cjp.net/H3cJP/yuzu.git
synced 2024-12-16 15:55:30 +00:00
fixup! common: intrusive_red_black_tree: Disable static_assert that will not evaluate as constant on MSVC.
This commit is contained in:
parent
9434603450
commit
27a6ef64fd
|
@ -509,11 +509,6 @@ private:
|
|||
|
||||
private:
|
||||
static constexpr TypedStorage<Derived> DerivedStorage = {};
|
||||
|
||||
#ifndef _MSC_VER
|
||||
// TODO(bunnei): Enable on MSVC once this can be const evaluated by the compiler
|
||||
static_assert(GetParent(GetNode(GetPointer(DerivedStorage))) == GetPointer(DerivedStorage));
|
||||
#endif
|
||||
};
|
||||
|
||||
template <auto T, class Derived = impl::GetParentType<T>>
|
||||
|
|
Loading…
Reference in a new issue