mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 23:07:35 +00:00
AK: Use east const in MappedFile
This commit is contained in:
parent
bc75ca4fe5
commit
62af82f494
2 changed files with 2 additions and 2 deletions
|
@ -15,7 +15,7 @@
|
|||
|
||||
namespace AK {
|
||||
|
||||
Result<NonnullRefPtr<MappedFile>, OSError> MappedFile::map(const String& path)
|
||||
Result<NonnullRefPtr<MappedFile>, OSError> MappedFile::map(String const& path)
|
||||
{
|
||||
int fd = open(path.characters(), O_RDONLY | O_CLOEXEC, 0);
|
||||
if (fd < 0)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue