1
0
Fork 0
mirror of https://github.com/LadybirdBrowser/ladybird.git synced 2025-06-11 02:13:56 +09:00

AK: Make MappedFile non-copyable.

This commit is contained in:
Andreas Kling 2019-07-11 15:14:30 +02:00
parent 6534f5f083
commit 3d9f783e31
Notes: sideshowbarker 2024-07-19 13:20:02 +09:00

View file

@ -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);