core,hyprctl: clang, clang-tidy, typo fixes and dtors changes (#9233)

* declare dtor once + DMABBUF typo fix

* dup include + clang moment

* linux-dmabuf: last minute nit change
This commit is contained in:
Honkazel 2025-01-30 16:07:06 +05:00 committed by GitHub
parent d462cc7fa1
commit 7d1c78f4a3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
31 changed files with 35 additions and 94 deletions

View file

@ -950,5 +950,3 @@ Vector2D IHyprLayout::predictSizeForNewWindow(PHLWINDOW pWindow) {
return sizePredicted;
}
IHyprLayout::~IHyprLayout() = default;

View file

@ -43,7 +43,7 @@ enum eDirection : int8_t {
class IHyprLayout {
public:
virtual ~IHyprLayout() = 0;
virtual ~IHyprLayout() = default;
virtual void onEnable() = 0;
virtual void onDisable() = 0;

View file

@ -5,7 +5,6 @@
#include "../helpers/varlist/VarList.hpp"
#include <vector>
#include <list>
#include <vector>
#include <any>
enum eFullscreenMode : int8_t;