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:
parent
d462cc7fa1
commit
7d1c78f4a3
31 changed files with 35 additions and 94 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue