mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-05-07 20:10:13 +02:00
Use C++20 [[unlikely]] instead of BOOST_UNLIKELY
This commit is contained in:
@@ -57,7 +57,7 @@ void Vst3Logger::log_query_interface(
|
||||
const std::string& where,
|
||||
tresult result,
|
||||
const std::optional<Steinberg::FUID>& uid) {
|
||||
if (BOOST_UNLIKELY(logger.verbosity >= Logger::Verbosity::all_events)) {
|
||||
if (logger.verbosity >= Logger::Verbosity::all_events) [[unlikely]] {
|
||||
std::ostringstream message;
|
||||
std::string uid_string = uid ? format_uid(*uid) : "<unknown_pointer>";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user