mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-23 01:41:59 -05:00
AK: Make MappedFile non-copyable.
This commit is contained in:
parent
6534f5f083
commit
3d9f783e31
1 changed files with 3 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue