4
0
Эх сурвалжийг харах

backlog190rc check: std::max instead of juce::jmax<std::size_t> (it instantiates juce::dsp's SIMD template there: the macOS arm64 build failed)

Ka1-S 1 долоо хоног өмнө
parent
commit
0639520f20

+ 1 - 1
src/Backlog190rcCheck.inc

@@ -55,7 +55,7 @@
                             own.push_back (f);
                     int read = 0, tried = 0;
                     std::string firstMiss;
-                    for (std::size_t k = 0; k < own.size() && tried < 120; k += juce::jmax<std::size_t> (1, own.size() / 120), ++tried)
+                    for (std::size_t k = 0; k < own.size() && tried < 120; k += std::max<std::size_t> (1, own.size() / 120), ++tried)
                     {
                         const auto c = natives::channelFromAnyPreset (own[k], "x", fl);
                         if (c && c->instrument == e.kind)