diff options
author | Andreas Kling <awesomekling@gmail.com> | 2019-07-11 15:14:30 +0200 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-07-11 15:14:30 +0200 |
commit | 3d9f783e31cc4466e72fd23c138afbf6e186cbf9 (patch) | |
tree | d943c0cdc4f1b84aa7757408677fb9f20ed53e50 /AK | |
parent | 6534f5f083661b5852f4532caa18c4f5e1104936 (diff) | |
download | serenity-3d9f783e31cc4466e72fd23c138afbf6e186cbf9.zip |
AK: Make MappedFile non-copyable.
Diffstat (limited to 'AK')
-rw-r--r-- | AK/MappedFile.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/AK/MappedFile.h b/AK/MappedFile.h index 82421e6e3d..35686bb817 100644 --- a/AK/MappedFile.h +++ b/AK/MappedFile.h @@ -1,10 +1,12 @@ #pragma once -#include "StringView.h" +#include <AK/Noncopyable.h> +#include <AK/StringView.h> namespace AK { class MappedFile { + AK_MAKE_NONCOPYABLE(MappedFile); public: MappedFile() {} explicit MappedFile(const StringView& file_name); |