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) { }