Minor improvements

This commit is contained in:
2021-04-04 22:28:43 +02:00
parent 7bb4dae733
commit 59d3e7ed5a
2 changed files with 2 additions and 65 deletions

View File

@@ -92,12 +92,12 @@ namespace openVulkanoCpp
return *this;
}
T& operator[](size_t n) noexcept
T& operator[](size_t n)
{
return data[n];
}
const T& operator[](size_t n) const noexcept
const T& operator[](size_t n) const
{
return data[n];
}