Fix some warnings
This commit is contained in:
@@ -12,6 +12,7 @@ namespace OpenVulkano
|
||||
{
|
||||
struct FileDescription
|
||||
{
|
||||
constexpr static inline std::filesystem::perms ALL_READ = std::filesystem::perms::owner_read | std::filesystem::perms::group_read | std::filesystem::perms::others_read;
|
||||
constexpr static inline size_t UNKNOWN_SIZE = SIZE_MAX;
|
||||
|
||||
std::filesystem::file_type type;
|
||||
@@ -26,7 +27,7 @@ namespace OpenVulkano
|
||||
std::filesystem::file_type::regular,
|
||||
path,
|
||||
size,
|
||||
std::filesystem::perms(0644),
|
||||
std::filesystem::perms::owner_write | ALL_READ,
|
||||
std::time(nullptr), std::time(nullptr)
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user