Skip to content

Commit

Permalink
AK: Make MappedFile non-copyable.
Browse files Browse the repository at this point in the history
  • Loading branch information
awesomekling committed Jul 11, 2019
1 parent 6534f5f commit 3d9f783
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion AK/MappedFile.h
Original file line number Diff line number Diff line change
@@ -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);
Expand Down

0 comments on commit 3d9f783

Please sign in to comment.