1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 13:28:11 +00:00

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

This commit is contained in:
Andreas Kling 2021-07-07 15:41:01 +02:00
parent d66dab2d41
commit e0986c2766

View file

@ -35,8 +35,8 @@ static IDAllocator s_window_id_allocator;
class WindowBackingStore {
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)
{
}