From e0986c276650d03f27a91c9e304ec39ab91b6333 Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Wed, 7 Jul 2021 15:41:01 +0200 Subject: [PATCH] LibGUI: Fix some clang-tidy warnings in Window.cpp --- Userland/Libraries/LibGUI/Window.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Userland/Libraries/LibGUI/Window.cpp b/Userland/Libraries/LibGUI/Window.cpp index 6acdd6f4ea..75b80dbdab 100644 --- a/Userland/Libraries/LibGUI/Window.cpp +++ b/Userland/Libraries/LibGUI/Window.cpp @@ -35,8 +35,8 @@ static IDAllocator s_window_id_allocator; class WindowBackingStore { public: - WindowBackingStore(NonnullRefPtr bitmap) - : m_bitmap(bitmap) + explicit WindowBackingStore(NonnullRefPtr bitmap) + : m_bitmap(move(bitmap)) , m_serial(++s_next_backing_store_serial) { }