yuzu-emu
/
yuzu
Archived
1
0
Fork 0

fixup! common: intrusive_red_black_tree: Disable static_assert that will not evaluate as constant on MSVC.

This commit is contained in:
bunnei 2021-05-01 14:16:26 -07:00
parent 9434603450
commit 27a6ef64fd
1 changed files with 0 additions and 5 deletions

View File

@ -509,11 +509,6 @@ private:
private: private:
static constexpr TypedStorage<Derived> DerivedStorage = {}; 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>> template <auto T, class Derived = impl::GetParentType<T>>