Silence warnings and fix bugs
This commit is contained in:
@@ -46,6 +46,17 @@ namespace OpenVulkano
|
||||
};
|
||||
}
|
||||
|
||||
static FileDescription MkFile(const std::filesystem::path& path, const size_t size)
|
||||
{
|
||||
return {
|
||||
std::filesystem::file_type::regular,
|
||||
path.string(),
|
||||
size,
|
||||
std::filesystem::perms::owner_write | ALL_READ,
|
||||
std::time(nullptr), std::time(nullptr)
|
||||
};
|
||||
}
|
||||
|
||||
static FileDescription MkDir(const char* path)
|
||||
{
|
||||
FileDescription desc = MkFile(path, 0);
|
||||
|
||||
Reference in New Issue
Block a user