Browse Source

LibGUI: Fix some clang-tidy warnings in Window.cpp

Andreas Kling 4 years ago
parent
commit
e0986c2766
1 changed files with 2 additions and 2 deletions
  1. 2 2
      Userland/Libraries/LibGUI/Window.cpp

+ 2 - 2
Userland/Libraries/LibGUI/Window.cpp

@@ -35,8 +35,8 @@ static IDAllocator s_window_id_allocator;
 
 
 class WindowBackingStore {
 class WindowBackingStore {
 public:
 public:
-    WindowBackingStore(NonnullRefPtr<Gfx::Bitmap> bitmap)
-        : m_bitmap(bitmap)
+    explicit WindowBackingStore(NonnullRefPtr<Gfx::Bitmap> bitmap)
+        : m_bitmap(move(bitmap))
         , m_serial(++s_next_backing_store_serial)
         , m_serial(++s_next_backing_store_serial)
     {
     {
     }
     }