commit 8f2d06c5af73df1c69143ba6bc8ee76150f84c6b parent d112bbf9210e439c1eb196dee620acb8d6664801 Author: dsp56300 <dsp56300@users.noreply.github.com> Date: Tue, 30 Apr 2024 18:29:35 +0200 fix gcc 7.5 failing to deduce type for std::set Diffstat:
M | source/synthLib/device.cpp | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/source/synthLib/device.cpp b/source/synthLib/device.cpp @@ -82,7 +82,7 @@ namespace synthLib return preferred.front(); // find the lowest possible samplerate that is higher than the host samplerate - const std::set samplerates(preferred.begin(), preferred.end()); + const std::set<float> samplerates(preferred.begin(), preferred.end()); for (const float sr : preferred) {