Silence some warnings

This commit is contained in:
Georg Hagen
2025-02-08 16:16:03 +01:00
parent 123c6ecc9b
commit afd2c8043e
6 changed files with 16 additions and 16 deletions

View File

@@ -52,7 +52,7 @@ namespace OpenVulkano
bool AddFile(const char* inArchiveName, const void* buffer, size_t length)
{
FileDescription description = FileDescription::MakeDescriptionForFile(inArchiveName, length);
FileDescription description = FileDescription::MkFile(inArchiveName, length);
return AddFile(description, buffer);
}
@@ -64,7 +64,7 @@ namespace OpenVulkano
if (buffer.first == nullptr) continue;
size += buffer.second;
}
const FileDescription description = FileDescription::MakeDescriptionForFile(fileName, size);
const FileDescription description = FileDescription::MkFile(fileName, size);
return AddFile(description, buffers);
}
@@ -95,4 +95,4 @@ namespace OpenVulkano
return true;
}
};
}
}