diff options
Diffstat (limited to 'Userland/Applications/SystemMonitor/ProcessMemoryMapWidget.cpp')
-rw-r--r-- | Userland/Applications/SystemMonitor/ProcessMemoryMapWidget.cpp | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/Userland/Applications/SystemMonitor/ProcessMemoryMapWidget.cpp b/Userland/Applications/SystemMonitor/ProcessMemoryMapWidget.cpp index c10a656b51..3295892092 100644 --- a/Userland/Applications/SystemMonitor/ProcessMemoryMapWidget.cpp +++ b/Userland/Applications/SystemMonitor/ProcessMemoryMapWidget.cpp @@ -1,5 +1,6 @@ /* * Copyright (c) 2018-2020, Andreas Kling <kling@serenityos.org> + * Copyright (c) 2022, the SerenityOS developers. * * SPDX-License-Identifier: BSD-2-Clause */ @@ -15,7 +16,7 @@ class PagemapPaintingDelegate final : public GUI::TableCellPaintingDelegate { public: - virtual ~PagemapPaintingDelegate() override { } + virtual ~PagemapPaintingDelegate() override = default; virtual void paint(GUI::Painter& painter, const Gfx::IntRect& a_rect, const Gfx::Palette&, const GUI::ModelIndex& index) override { @@ -107,10 +108,6 @@ ProcessMemoryMapWidget::ProcessMemoryMapWidget() m_timer = add<Core::Timer>(1000, [this] { refresh(); }); } -ProcessMemoryMapWidget::~ProcessMemoryMapWidget() -{ -} - void ProcessMemoryMapWidget::set_pid(pid_t pid) { if (m_pid == pid) |