Prevent allocations caused by Logger::log_trace

C++ would always construct an `std::string` from the string constant
every iteration. Since this also happened when `YABRIDGE_DEBUG_LEVEL` is
not set to 2, this ended up causing unnecessary allocations.
This commit is contained in:
Robbert van der Helm
2021-05-23 00:21:21 +02:00
parent cf2fbf602c
commit df93944f3b
6 changed files with 40 additions and 36 deletions
+2
View File
@@ -60,6 +60,8 @@ Versioning](https://semver.org/spec/v2.0.0.html).
visible.
- Fixed _Voxengo_ VST2 plugins in **Renoise** freezing when loading a project or
when otherwise restoring plugin state.
- Fixed logging traces in the VST2 audio processing functions causing
allocations even when `YABRIDGE_DEBUG_LEVEL` is not set to 2.
- Fixed builds on Wine 6.8 because of internal changes to Wine's `windows.h`
implementation.