Fix Visual Studio 17.5.0 compilation

For some reason there's an internal compiler error related to atomic wait.
I could work around this issue when I commented "mask = default_mask<X>;".
So after playing around a bit I had the suspicion that the VS parser can't handle some of the templatization.
Giving the decltype its own alias seems to fix this issue (and makes the code a bit more readable anyway in my opinion).
This commit is contained in:
Megamouse 2023-02-23 01:46:30 +01:00 committed by Ivan
parent 7cb3d305d4
commit 3ff464641a
3 changed files with 13 additions and 13 deletions

View file

@ -1,8 +1,5 @@
#include "stdafx.h"
#include "media_utils.h"
#include "logs.hpp"
#include "Utilities/StrUtil.h"
#include "Emu/Cell/Modules/cellSearch.h"
#include "Emu/System.h"
#include <random>