diff options
author | Andreas Kling <kling@serenityos.org> | 2021-07-07 17:33:35 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-07-07 18:02:43 +0200 |
commit | 86d0145260068cc3632a483b4d6fa1ea6749897d (patch) | |
tree | d3b0a16bec7e29f57a0897826a33540908ed7b97 /Userland/Services/WindowServer/ClientConnection.cpp | |
parent | 4cb0bbef9d592de08f4a599926db8eef6ab6d776 (diff) | |
download | serenity-86d0145260068cc3632a483b4d6fa1ea6749897d.zip |
LibGfx+LibGUI+WindowServer: Use move() on Core::AnonymousBuffer more
Diffstat (limited to 'Userland/Services/WindowServer/ClientConnection.cpp')
-rw-r--r-- | Userland/Services/WindowServer/ClientConnection.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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, {}); |