From 894ae2d74217f4c37653022d855d00fd46c39457 Mon Sep 17 00:00:00 2001 From: vaxerski <43317083+vaxerski@users.noreply.github.com> Date: Sat, 28 May 2022 23:43:11 +0200 Subject: Use C++-styled pointers for decorations --- src/Window.cpp | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/Window.cpp') diff --git a/src/Window.cpp b/src/Window.cpp index cc76aed2..5bb1738e 100644 --- a/src/Window.cpp +++ b/src/Window.cpp @@ -13,7 +13,4 @@ CWindow::~CWindow() { g_pCompositor->m_pLastFocus = nullptr; g_pCompositor->m_pLastWindow = nullptr; } - - for (auto& wd : m_dWindowDecorations) - delete wd; } \ No newline at end of file -- cgit v1.2.3