diff --git a/CHANGELOG.md b/CHANGELOG.md index b530cd33..f1adb789 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,12 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [Unreleased] + +### Fixed + +- Fixed linking error in debug build related to the parallel STL. + ## [2.0.1] - 2020-11-08 ### Fixed diff --git a/src/plugin/plugin-bridge.cpp b/src/plugin/plugin-bridge.cpp index 2576bb7e..3f993b9d 100644 --- a/src/plugin/plugin-bridge.cpp +++ b/src/plugin/plugin-bridge.cpp @@ -16,8 +16,6 @@ #include "plugin-bridge.h" -#include - // Generated inside of the build directory #include #include @@ -515,8 +513,10 @@ void PluginBridge::do_process(T** inputs, T** outputs, int sample_frames) { // going to call this anyways we won't even bother with a separate // implementation and we'll just add `processReplacing()` results to // `outputs`. - std::transform(std::execution::unseq, - response_buffers[channel].begin(), + // We could use `std::execution::unseq` here but that would require + // linking to TBB and since this probably won't ever be used anyways + // that's a bit of a waste. + std::transform(response_buffers[channel].begin(), response_buffers[channel].end(), outputs[channel], outputs[channel], [](const T& new_value, T& current_value) -> T {