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/protocols/core | |
| 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/protocols/core')
| -rw-r--r-- | src/protocols/core/Shm.cpp | 4 | ||||
| -rw-r--r-- | src/protocols/core/Shm.hpp | 2 |
2 files changed, 1 insertions, 5 deletions
diff --git a/src/protocols/core/Shm.cpp b/src/protocols/core/Shm.cpp index 28585aeb..1649f82f 100644 --- a/src/protocols/core/Shm.cpp +++ b/src/protocols/core/Shm.cpp @@ -36,10 +36,6 @@ CWLSHMBuffer::CWLSHMBuffer(SP<CWLSHMPoolResource> pool_, uint32_t id, int32_t of Debug::log(ERR, "Failed creating a shm texture: null texture id"); } -CWLSHMBuffer::~CWLSHMBuffer() { - ; -} - Aquamarine::eBufferCapability CWLSHMBuffer::caps() { return Aquamarine::eBufferCapability::BUFFER_CAPABILITY_DATAPTR; } diff --git a/src/protocols/core/Shm.hpp b/src/protocols/core/Shm.hpp index 23a465fb..d7e81367 100644 --- a/src/protocols/core/Shm.hpp +++ b/src/protocols/core/Shm.hpp @@ -31,7 +31,7 @@ class CSHMPool { class CWLSHMBuffer : public IHLBuffer { public: CWLSHMBuffer(SP<CWLSHMPoolResource> pool, uint32_t id, int32_t offset, const Vector2D& size, int32_t stride, uint32_t fmt); - virtual ~CWLSHMBuffer(); + virtual ~CWLSHMBuffer() = default; virtual Aquamarine::eBufferCapability caps(); virtual Aquamarine::eBufferType type(); |
