Skip to content

Commit

Permalink
Workaround for MSVC 17.8 bug
Browse files Browse the repository at this point in the history
fixes #330
  • Loading branch information
adamjw24 authored Nov 21, 2023
1 parent c0e8153 commit 0e5732d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion source/Lib/CommonLib/x86/InitX86.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -147,11 +147,14 @@ void LoopFilter::initLoopFilterX86()
void RdCost::initRdCostX86()
{
auto vext = read_x86_extension_flags();
switch (vext){
switch (vext){
#if defined( _MSC_VER ) && _MSC_VER >= 1938
#else
case AVX512:
case AVX2:
_initRdCostX86<AVX2>();
break;
#endif
case AVX:
_initRdCostX86<AVX>();
break;
Expand Down

0 comments on commit 0e5732d

Please sign in to comment.