diff options
| author | Honkazel <169346573+Honkazel@users.noreply.github.com> | 2025-01-30 16:07:06 +0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-01-30 11:07:06 +0000 |
| commit | 7d1c78f4a3720b693fedeb5d4f2d3f4da37f7fd3 (patch) | |
| tree | d6572c99ecdb29ac0564ac7e887235bdfa654757 /src/helpers | |
| parent | d462cc7fa166e1e6a6f14b58a2dd1e8b92e15426 (diff) | |
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
Diffstat (limited to 'src/helpers')
| -rw-r--r-- | src/helpers/Monitor.cpp | 4 | ||||
| -rw-r--r-- | src/helpers/Monitor.hpp | 3 |
2 files changed, 1 insertions, 6 deletions
diff --git a/src/helpers/Monitor.cpp b/src/helpers/Monitor.cpp index 9ea85bca..42acf485 100644 --- a/src/helpers/Monitor.cpp +++ b/src/helpers/Monitor.cpp @@ -1434,10 +1434,6 @@ CMonitorState::CMonitorState(CMonitor* owner) : m_pOwner(owner) { ; } -CMonitorState::~CMonitorState() { - ; -} - void CMonitorState::ensureBufferPresent() { const auto STATE = m_pOwner->output->state->state(); if (!STATE.enabled) { diff --git a/src/helpers/Monitor.hpp b/src/helpers/Monitor.hpp index 1b207f7d..2b02c30a 100644 --- a/src/helpers/Monitor.hpp +++ b/src/helpers/Monitor.hpp @@ -6,7 +6,6 @@ #include "../SharedDefs.hpp" #include "MiscFunctions.hpp" #include "WLClasses.hpp" -#include <vector> #include <array> #include <xf86drmMode.h> @@ -48,7 +47,7 @@ class CSyncTimeline; class CMonitorState { public: CMonitorState(CMonitor* owner); - ~CMonitorState(); + ~CMonitorState() = default; bool commit(); bool test(); |
