From 86d0145260068cc3632a483b4d6fa1ea6749897d Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Wed, 7 Jul 2021 17:33:35 +0200 Subject: LibGfx+LibGUI+WindowServer: Use move() on Core::AnonymousBuffer more --- Userland/Services/WindowServer/ClientConnection.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Userland/Services/WindowServer/ClientConnection.cpp') diff --git a/Userland/Services/WindowServer/ClientConnection.cpp b/Userland/Services/WindowServer/ClientConnection.cpp index 4cfdfe8f1a..4cfb8fa470 100644 --- a/Userland/Services/WindowServer/ClientConnection.cpp +++ b/Userland/Services/WindowServer/ClientConnection.cpp @@ -682,7 +682,7 @@ void ClientConnection::set_window_backing_store(i32 window_id, [[maybe_unused]] } auto backing_store = Gfx::Bitmap::create_with_anonymous_buffer( has_alpha_channel ? Gfx::BitmapFormat::BGRA8888 : Gfx::BitmapFormat::BGRx8888, - buffer, + move(buffer), size, 1, {}); -- cgit v1.2.3