mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-10-17 14:29:20 +02: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. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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