mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-05-07 03:50:11 +02:00
Don't depend on the parallel STL
We were not linking with TBB, and it's a bit of a waste to require it just for this one unused function.
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -16,8 +16,6 @@
|
||||
|
||||
#include "plugin-bridge.h"
|
||||
|
||||
#include <execution>
|
||||
|
||||
// Generated inside of the build directory
|
||||
#include <src/common/config/config.h>
|
||||
#include <src/common/config/version.h>
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user