use unlikely instead of BOOST_UNLIKELY

This commit is contained in:
satanson 2020-11-13 15:21:08 +08:00
parent 766883a0e3
commit 3dd4f2fb1e

View File

@ -129,7 +129,7 @@ private:
// SIMD optimization will be more efficient.
static void process(const UInt8 * src, UInt8 * dst, UInt64 size, UInt64 repeat_time)
{
if (BOOST_UNLIKELY(repeat_time <= 0))
if (unlikely(repeat_time <= 0))
{
*dst = 0;
return;