[Memory] Fix forgotten kFileMappingHandleInvalid
This commit is contained in:
parent
86ae42919d
commit
ec507dc2f6
|
@ -84,7 +84,7 @@ FileMappingHandle CreateFileMappingHandle(const std::filesystem::path& path,
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
assert_always();
|
assert_always();
|
||||||
return nullptr;
|
return kFileMappingHandleInvalid;
|
||||||
}
|
}
|
||||||
oflag |= O_CREAT;
|
oflag |= O_CREAT;
|
||||||
auto full_path = "/" / path;
|
auto full_path = "/" / path;
|
||||||
|
|
Loading…
Reference in New Issue