17
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-10-29 19:47:30 +01:00

refactor(sonar): drop top-level const from by-value return types (cpp:S5951)

This commit is contained in:
jerrrrycho
2026-10-10 16:29:47 +02:00
parent f82b12b2c6
commit 3c80ea20c7
7 changed files with 10 additions and 10 deletions

View File

@@ -15,12 +15,12 @@ namespace gl
return id;
}
inline operator GLuint* const()
inline operator GLuint*()
{
return &id;
}
inline operator const GLuint* const() const
inline operator const GLuint*() const
{
return &id;
}