From 4de5c7dfeebc2335ad3d7c2dd4905284677a68c9 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Mon, 5 Dec 2022 15:17:39 -0800 Subject: Avoid some uses of the LIKELY/UNLIKELY macros --- core/mastering.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/mastering.cpp') diff --git a/core/mastering.cpp b/core/mastering.cpp index 99850477..6a085c3a 100644 --- a/core/mastering.cpp +++ b/core/mastering.cpp @@ -295,7 +295,7 @@ void SignalDelay(Compressor *Comp, const uint SamplesToDo, FloatBufferLine *OutB float *delaybuf{al::assume_aligned<16>(Comp->mDelay[c].data())}; auto inout_end = inout + SamplesToDo; - if LIKELY(SamplesToDo >= lookAhead) + if(SamplesToDo >= lookAhead) [[allikely]] { auto delay_end = std::rotate(inout, inout_end - lookAhead, inout_end); std::swap_ranges(inout, delay_end, delaybuf); -- cgit v1.2.3