mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-08-09 08:31:54 -07:00
core: add LIKELY and UNLIKELY macros
helps the compiler optimize
This commit is contained in:
@@ -114,3 +114,6 @@
|
||||
namespace Aquamarine { \
|
||||
class name; \
|
||||
}
|
||||
|
||||
#define UNLIKELY(expr) (expr) [[unlikely]]
|
||||
#define LIKELY(expr) (expr) [[likely]]
|
||||
|
Reference in New Issue
Block a user