diff --git a/src/Functions/repeat.cpp b/src/Functions/repeat.cpp index 347402a6ac8..d3ae646df16 100644 --- a/src/Functions/repeat.cpp +++ b/src/Functions/repeat.cpp @@ -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;