mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-10-25 18:35:21 +01:00
refactor(sonar): use std::array for local fixed-size arrays (cpp:S5945)
Arrays that are class members or part of headers are left unchanged.
This commit is contained in:
@@ -51,7 +51,7 @@ std::optional<int64_t> gl::query::result()
|
||||
|
||||
GLenum gl::query::glenum_target(targets Target) const
|
||||
{
|
||||
static GLenum mapping[6] =
|
||||
static std::array<GLenum, 6> const mapping =
|
||||
{
|
||||
GL_SAMPLES_PASSED,
|
||||
GL_ANY_SAMPLES_PASSED,
|
||||
|
||||
Reference in New Issue
Block a user