Fix some warnings
This commit is contained in:
@@ -22,6 +22,8 @@ namespace OpenVulkano
|
||||
{
|
||||
#pragma clang diagnostic push
|
||||
#pragma clang diagnostic ignored "-Wswitch"
|
||||
#pragma GCC diagnostic push
|
||||
#pragma GCC diagnostic ignored "-Wswitch"
|
||||
constexpr mode_t GetFileType(std::filesystem::file_type type)
|
||||
{
|
||||
switch (type)
|
||||
@@ -51,6 +53,7 @@ namespace OpenVulkano
|
||||
}
|
||||
return std::filesystem::file_type::unknown;
|
||||
}
|
||||
#pragma GCC diagnostic pop
|
||||
#pragma clang diagnostic pop
|
||||
|
||||
template<bool BLOCK_WRITE = false>
|
||||
|
||||
Reference in New Issue
Block a user