summaryrefslogtreecommitdiff
path: root/src/helpers
diff options
context:
space:
mode:
Diffstat (limited to 'src/helpers')
-rw-r--r--src/helpers/Monitor.cpp4
-rw-r--r--src/helpers/Monitor.hpp3
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();