[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;
|
||||
default:
|
||||
assert_always();
|
||||
return nullptr;
|
||||
return kFileMappingHandleInvalid;
|
||||
}
|
||||
oflag |= O_CREAT;
|
||||
auto full_path = "/" / path;
|
||||
|
|
Loading…
Reference in New Issue