Swap Boost.Container's small_vector out for LLVM's

This implementation misses a shrink to fit function, but reassigning the
vector with a fresh one should be equivalent.
This commit is contained in:
Robbert van der Helm
2022-04-14 23:31:14 +02:00
parent fd25010aca
commit b2a15620f3
18 changed files with 1601 additions and 97 deletions
+1 -1
View File
@@ -196,7 +196,7 @@ class Vst2PluginBridge : PluginBridge<Vst2Sockets<std::jthread>> {
* we receive so we can send them to host on the audio thread at the end of
* `process_replacing()`.
*/
boost::container::small_vector<DynamicVstEvents, 1> incoming_midi_events_;
llvm::SmallVector<DynamicVstEvents, 1> incoming_midi_events_;
/**
* Mutex for locking the above event queue, since recieving and processing
* now happens in two different threads.