[Memory] Fix forgotten kFileMappingHandleInvalid

This commit is contained in:
Triang3l 2020-11-22 14:34:09 +03:00
parent 86ae42919d
commit ec507dc2f6
1 changed files with 1 additions and 1 deletions

View File

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