Mute warnings
This commit is contained in:
@@ -25,7 +25,7 @@ namespace OpenVulkano
|
||||
|
||||
Version(std::string_view versionString, bool ignoreTags = false);
|
||||
|
||||
[[nodiscard]] uint32_t GetComponent(uint32_t compId) const
|
||||
[[nodiscard]] uint32_t GetComponent(size_t compId) const
|
||||
{
|
||||
if (m_versionComponents.size() < compId + 1) return 0u;
|
||||
return m_versionComponents[compId];
|
||||
@@ -66,4 +66,4 @@ namespace OpenVulkano
|
||||
[[nodiscard]] int CompareTimestamp(const Version& other) const;
|
||||
[[nodiscard]] int CompareComponents(const Version& other) const;
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user