Use C++20 [[unlikely]] instead of BOOST_UNLIKELY

This commit is contained in:
Robbert van der Helm
2021-05-31 17:46:45 +02:00
parent 6a047497bc
commit 2bf1c4c5eb
5 changed files with 10 additions and 10 deletions
+1 -1
View File
@@ -462,7 +462,7 @@ intptr_t Vst2PluginBridge::dispatch(AEffect* /*plugin*/,
// been a release that contains the fix yet. This should be removed
// once Ardour 6.0 gets released.
// https://tracker.ardour.org/view.php?id=7668
if (BOOST_UNLIKELY(plugin.magic == 0)) {
if (plugin.magic == 0) [[unlikely]] {
logger.log_event(true, opcode, index, value, nullptr, option,
std::nullopt);
logger.log(