From a621b5f0155981f9db03df3c3851681604fcda15 Mon Sep 17 00:00:00 2001 From: Lucas CHOLLET Date: Sat, 14 Jan 2023 22:24:35 -0500 Subject: [PATCH] HexEditor: Add a default move constructor to `HexDocumentFile` --- Userland/Applications/HexEditor/HexDocument.h | 1 + 1 file changed, 1 insertion(+) diff --git a/Userland/Applications/HexEditor/HexDocument.h b/Userland/Applications/HexEditor/HexDocument.h index 1cad264d59..f50061bbbe 100644 --- a/Userland/Applications/HexEditor/HexDocument.h +++ b/Userland/Applications/HexEditor/HexDocument.h @@ -61,6 +61,7 @@ public: explicit HexDocumentFile(NonnullRefPtr file); virtual ~HexDocumentFile() = default; + HexDocumentFile(HexDocumentFile&&) = default; HexDocumentFile(HexDocumentFile const&) = delete; void set_file(NonnullRefPtr file);