summaryrefslogtreecommitdiff
path: root/AK
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-07-11 15:14:30 +0200
committerAndreas Kling <awesomekling@gmail.com>2019-07-11 15:14:30 +0200
commit3d9f783e31cc4466e72fd23c138afbf6e186cbf9 (patch)
treed943c0cdc4f1b84aa7757408677fb9f20ed53e50 /AK
parent6534f5f083661b5852f4532caa18c4f5e1104936 (diff)
downloadserenity-3d9f783e31cc4466e72fd23c138afbf6e186cbf9.zip
AK: Make MappedFile non-copyable.
Diffstat (limited to 'AK')
-rw-r--r--AK/MappedFile.h4
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);