From bca7804bb6e1bf5ce5a99b9ae4806be25e36993c Mon Sep 17 00:00:00 2001 From: Vaxry <43317083+vaxerski@users.noreply.github.com> Date: Sat, 27 Apr 2024 12:43:12 +0100 Subject: internal: Window storage rework - part 1 (#5762) * Window storage rework - part 1 * format * remove useless include * fix pch * format * fix crash in dwindle * fix vram leak * prefer .expired() for bool checks --- src/macros.hpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/macros.hpp') diff --git a/src/macros.hpp b/src/macros.hpp index 19b4cbc6..e319051f 100644 --- a/src/macros.hpp +++ b/src/macros.hpp @@ -4,6 +4,10 @@ #include #include +#define SP std::shared_ptr +#define UP std::unique_ptr +#define WP std::weak_ptr + #ifndef NDEBUG #ifdef HYPRLAND_DEBUG #define ISDEBUG true -- cgit v1.2.3