From 3d9f783e31cc4466e72fd23c138afbf6e186cbf9 Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Thu, 11 Jul 2019 15:14:30 +0200 Subject: [PATCH] AK: Make MappedFile non-copyable. --- AK/MappedFile.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/AK/MappedFile.h b/AK/MappedFile.h index 82421e6e3d6..35686bb8175 100644 --- a/AK/MappedFile.h +++ b/AK/MappedFile.h @@ -1,10 +1,12 @@ #pragma once -#include "StringView.h" +#include +#include namespace AK { class MappedFile { + AK_MAKE_NONCOPYABLE(MappedFile); public: MappedFile() {} explicit MappedFile(const StringView& file_name);