diff options
Diffstat (limited to 'Userland/Libraries/LibCore/AnonymousBuffer.h')
-rw-r--r-- | Userland/Libraries/LibCore/AnonymousBuffer.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Userland/Libraries/LibCore/AnonymousBuffer.h b/Userland/Libraries/LibCore/AnonymousBuffer.h index 2daf0d5dea..895bfec464 100644 --- a/Userland/Libraries/LibCore/AnonymousBuffer.h +++ b/Userland/Libraries/LibCore/AnonymousBuffer.h @@ -1,5 +1,6 @@ /* * Copyright (c) 2021, Andreas Kling <kling@serenityos.org> + * Copyright (c) 2022, the SerenityOS developers. * * SPDX-License-Identifier: BSD-2-Clause */ @@ -38,7 +39,7 @@ public: static ErrorOr<AnonymousBuffer> create_with_size(size_t); static ErrorOr<AnonymousBuffer> create_from_anon_fd(int fd, size_t); - AnonymousBuffer() { } + AnonymousBuffer() = default; bool is_valid() const { return m_impl; } |