decoder_detail: Fix Android NDK compilation issue

This commit is contained in:
Merry 2022-11-05 19:24:55 +00:00
parent 4b80be4bd9
commit 848e0913df

View file

@ -107,8 +107,8 @@ struct detail {
} }
} }
#ifndef DYNARMIC_IGNORE_ASSERTS #if !defined(DYNARMIC_IGNORE_ASSERTS) && !defined(__ANDROID__)
// Avoids a MSVC ICE. // Avoids a MSVC ICE, and avoids Android NDK issue.
ASSERT(std::all_of(masks.begin(), masks.end(), [](auto m) { return m != 0; })); ASSERT(std::all_of(masks.begin(), masks.end(), [](auto m) { return m != 0; }));
#endif #endif