From 261c3307f70d14e5bbc7d4113b4ee6dac9e4b627 Mon Sep 17 00:00:00 2001 From: vaxerski Date: Mon, 7 Aug 2023 13:35:19 +0200 Subject: internal: cleanup headers in helpers/ --- src/helpers/WLSurface.hpp | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) (limited to 'src/helpers/WLSurface.hpp') diff --git a/src/helpers/WLSurface.hpp b/src/helpers/WLSurface.hpp index e3325f99..c5cdd37f 100644 --- a/src/helpers/WLSurface.hpp +++ b/src/helpers/WLSurface.hpp @@ -1,7 +1,6 @@ #pragma once #include "../defines.hpp" - class CWLSurface { public: CWLSurface() = default; @@ -11,20 +10,20 @@ class CWLSurface { void assign(wlr_surface* pSurface); void unassign(); - CWLSurface(const CWLSurface&) = delete; - CWLSurface(CWLSurface&&) = delete; + CWLSurface(const CWLSurface&) = delete; + CWLSurface(CWLSurface&&) = delete; CWLSurface& operator=(const CWLSurface&) = delete; - CWLSurface& operator=(CWLSurface&&) = delete; + CWLSurface& operator=(CWLSurface&&) = delete; wlr_surface* wlr() const; bool exists() const; CWLSurface& operator=(wlr_surface* pSurface) { - destroy(); - m_pWLRSurface = pSurface; - init(); + destroy(); + m_pWLRSurface = pSurface; + init(); - return *this; + return *this; } bool operator==(const CWLSurface& other) const { -- cgit v1.2.3