From adca7bf2ab678d3401e39cf295ef4c997aa28b93 Mon Sep 17 00:00:00 2001 From: Sky Johnson Date: Mon, 30 Jun 2025 12:07:52 -0500 Subject: [PATCH] clean up common --- common.hpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/common.hpp b/common.hpp index 526506c..6409c69 100644 --- a/common.hpp +++ b/common.hpp @@ -4,14 +4,8 @@ #include #include -// Branch prediction hints -#if defined(__GNUC__) || defined(__clang__) #define likely(x) __builtin_expect(!!(x), 1) #define unlikely(x) __builtin_expect(!!(x), 0) -#else -#define likely(x) (x) -#define unlikely(x) (x) -#endif using std::string_view;