[Memory] Fix forgotten kFileMappingHandleInvalid
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user