mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-23 09:51:57 -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
|
#pragma once
|
||||||
|
|
||||||
#include "StringView.h"
|
#include <AK/Noncopyable.h>
|
||||||
|
#include <AK/StringView.h>
|
||||||
|
|
||||||
namespace AK {
|
namespace AK {
|
||||||
|
|
||||||
class MappedFile {
|
class MappedFile {
|
||||||
|
AK_MAKE_NONCOPYABLE(MappedFile);
|
||||||
public:
|
public:
|
||||||
MappedFile() {}
|
MappedFile() {}
|
||||||
explicit MappedFile(const StringView& file_name);
|
explicit MappedFile(const StringView& file_name);
|
||||||
|
|
Loading…
Add table
Reference in a new issue